Mp11 is a C++11 metaprogramming library based on template aliases and variadic templates. It implements the approach outlined in the article "Simple C++11 metaprogramming" and its sequel.
Mp11 is part of Boost, starting with release 1.66.0. It
however has no Boost dependencies and can be used standalone, as a Git submodule, for
instance. For CMake users, add_subdirectory is supported, as is installation and
find_package(boost_mp11).
Tested on Travis and Appveyor.
Distributed under the Boost Software License, Version 1.0.
<h1>Mp11, a C++11 metaprogramming library</h1> <p>Mp11 is a C++11 metaprogramming library based on template aliases and variadic templates. It implements the approach outlined in the article <a href="http://pdimov.com/cpp2/simple_cxx11_metaprogramming.html">"Simple C++11 metaprogramming"</a> and <a href="http://pdimov.com/cpp2/simple_cxx11_metaprogramming_2.html">its sequel</a>.</p> <p>Mp11 is part of <a href="http://boost.org/libs/mp11">Boost</a>, starting with release 1.66.0. It however has no Boost dependencies and can be used standalone, as a Git submodule, for instance. For CMake users, <code>add_subdirectory</code> is supported, as is installation and <code>find_package(boost_mp11)</code>.</p> <h2>Supported compilers</h2> <ul> <li>g++ 4.7 or later</li> <li>clang++ 3.3 or later</li> <li>Visual Studio 2013, 2015, 2017, 2019</li> </ul> <p>Tested on <a href="https://travis-ci.org/boostorg/mp11/">Travis</a> and <a href="https://ci.appveyor.com/project/pdimov/mp11/">Appveyor</a>.</p> <h2>License</h2> <p>Distributed under the <a href="http://boost.org/LICENSE_1_0.txt">Boost Software License, Version 1.0</a>.</p>
<h1>Mp11, a C++11 metaprogramming library</h1> <p>Mp11 is a C++11 metaprogramming library based on template aliases and variadic templates. It implements the approach outlined in the article <a href="http://pdimov.com/cpp2/simple_cxx11_metaprogramming.html">"Simple C++11 metaprogramming"</a> and <a href="http://pdimov.com/cpp2/simple_cxx11_metaprogramming_2.html">its sequel</a>.</p> <p>Mp11 is part of <a href="http://boost.org/libs/mp11">Boost</a>, starting with release 1.66.0. It however has no Boost dependencies and can be used standalone, as a Git submodule, for instance. For CMake users, <code>add_subdirectory</code> is supported, as is installation and <code>find_package(boost_mp11)</code>.</p> <h2>Supported compilers</h2> <ul> <li>g++ 4.7 or later</li> <li>clang++ 3.3 or later</li> <li>Visual Studio 2013, 2015, 2017, 2019</li> </ul> <p>Tested on <a href="https://travis-ci.org/boostorg/mp11/">Travis</a> and <a href="https://ci.appveyor.com/project/pdimov/mp11/">Appveyor</a>.</p> <h2>License</h2> <p>Distributed under the <a href="http://boost.org/LICENSE_1_0.txt">Boost Software License, Version 1.0</a>.</p>