August 2017
Intermediate to advanced
438 pages
14h 19m
English
C++11 has nothing close to the Boost.MPL library to apply a metafunction.
Modern C++ has a bunch of features that may help you achieve the Boost.MPL functionality. For example, C++11 has a <type_traits> header and basic constexpr support. C++14 has an extended constexpr support, in C++17 there's an std::apply function that works with tuples and is usable in constant expressions. Also, in C++17 lambdas are constexpr by default and there is an if constexpr (expr).
Read now
Unlock full access