An introduction to C++'s variadic templates: a thread-safe multi-type map

Posted on Mon 01 February 2016 in C++ • Tagged with C++11, C++14, variadic templates, meta programming

Trivia:

One of our favorite motto in our C++ team at work is: you shall use dependency injections instead of singletons! It actually comes with our unit-testing strategy. If the various components of your architecture are too tightly coupled, it becomes a tremendous effort to deeply test small critical chunks …


Continue reading

An introduction to C++'s SFINAE concept: compile-time introspection of a class member

Posted on Sat 31 October 2015 in C++ • Tagged with C++11, C++14, TMP, meta programming

Trivia:

As a C++ enthusiast, I usually follow the annual C++ conference cppconf or at least try to keep myself up-to-date with the major events that happen there. One way to catch up, if you can't afford a plane ticket or the ticket, is to follow the youtube channel dedicated …


Continue reading