Your code depends on Boost. Boost depends on you.

Boost's 180+ libraries are free, peer-reviewed, and kept running by a small group of maintainers. Help fund the work behind every release. Your gift is tax-deductible.

Metaprogramming C++11
Added in 1.66.0

Boost.Mp11

A C++11 metaprogramming library.

About Boost.Mp11

Please check out the library's documentation to learn more.

Contributors: This Release


Documentation

Mp11, a C++11 metaprogramming library

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).

Supported compilers

  • g++ 4.8 or later
  • clang++ 3.9 or later
  • Visual Studio 2013, 2015, 2017, 2019

Tested on Github Actions and Appveyor.

License

Distributed under the Boost Software License, Version 1.0.

Join the Boost Developers Mailing List

Get the latest on releases, features, security patches, fixes and all major announcements.

All Contributors