Part2 of Fundamental operations on type lists is now available, featuring common template metaprogramming idioms, like multiple inheritance and the void*
trick, demonstrated on simple metafunctions, such as push_front<>
, push_back<>
, pop_front<>
and pop_back<>
.
Fundamental operations on type lists (Part2)
by Szilard Szaloki
From the article:
Among the simplest metafunctions are
push_front<>
andpush_back<>
, since they can be easily implemented by leveraging C++11's parameter pack expansion...
Add a Comment