Boost:MPL
lastmod 2026-11-10created 2015-06-193 edits
Boost.MPL (Metaprogramming Library) is a collection of compile-time algorithms and data structures for C++ template metaprogramming. It provides sequences such as vector, list, and map whose elements are types, along with algorithms such as transform, find, and fold that operate on them, so type computations can be done in a way similar to the STL. Since C++11, as variadic templates and constexpr have become common, the lighter Boost.Hana or Boost.Mp11 are used as alternatives.