inline, the secret understanding

A great explanation of why we need the inline specifier. So, what is the actual purpose of the inline keyword? It's simple: a function marked inline can be defined in more than one translation unit without violating the One Definition Rule (ODR).…

Tutorial on tag dispatching

one of the simplest, most powerful metaprogramming techniques that exist in C++: tag dispatching. Rest of the article here…

Boost.FunctionType

Recently, I had to use Boost.FunctionType as a companion library of Boost.TTI Specifically, I needed to check for the presence of a const-qualified id() member function (returning a std::size_t). Due to the const-qualification, the plain solution: using has_id_type = typename detail::has_member_function_id&…