If you like to play with templates, read this article:
Simple C++11 metaprogramming
by Peter Dimov
From the article:
The wide acceptance of Boost.MPL made C++ metaprogramming seem a solved problem. Perhaps MPL wasn't ideal, but it was good enough to the point that there wasn't really a need to seek or produce alternatives.
C++11 changed the playing field. The addition of variadic templates with their associated parameter packs added a compile-time list of types structure directly into the language...
Add a Comment
Comments are closed.