2017-06-07 00:31:06 +03:00
|
|
|
# Mp11, a C++11 metaprogramming library
|
2015-06-21 19:58:49 +03:00
|
|
|
|
2017-06-07 00:31:06 +03:00
|
|
|
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"](http://pdimov.com/cpp2/simple_cxx11_metaprogramming.html)
|
2017-08-04 01:21:16 +03:00
|
|
|
and [its sequel](http://pdimov.com/cpp2/simple_cxx11_metaprogramming_2.html).
|
2017-03-16 19:59:20 +02:00
|
|
|
|
2019-01-07 17:34:33 +02:00
|
|
|
Mp11 is part of [Boost](http://boost.org/libs/mp11), 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(BoostMp11)`.
|
2017-07-14 17:25:35 +03:00
|
|
|
|
2017-06-07 00:31:06 +03:00
|
|
|
## Supported compilers
|
2017-05-22 14:25:49 +03:00
|
|
|
|
|
|
|
|
* g++ 4.7 or later
|
2018-01-30 18:27:30 +00:00
|
|
|
* clang++ 3.3 or later
|
2017-05-22 14:25:49 +03:00
|
|
|
* Visual Studio 2013, 2015, 2017
|
2017-06-07 00:31:06 +03:00
|
|
|
|
2017-08-04 01:21:16 +03:00
|
|
|
Tested on [Travis](https://travis-ci.org/boostorg/mp11/) and [Appveyor](https://ci.appveyor.com/project/pdimov/mp11/).
|
2017-06-08 05:40:30 +03:00
|
|
|
|
2017-06-07 00:34:31 +03:00
|
|
|
## License
|
|
|
|
|
|
|
|
|
|
Distributed under the [Boost Software License, Version 1.0](http://boost.org/LICENSE_1_0.txt).
|