template metaprogramming
Fundamental operations on type lists (Part2)
Among the simplest metafunctions are push_front<>
and push_back<>
, since they can be easily implemented by leveraging C++11’s parameter pack expansion…
Fundamental operations on type lists (Part1)
One of the fundamental building blocks of template metaprogramming is type lists. Dealing with them used to be a hassle, but since C++11 they are pretty much built into the language through type template parameter packs…