v3 flag enabled

Find a battle-tested library for the problem you're solving right now.

Excited Cartoon Mascot Excited Cartoon Mascot
CallableTraits

A spiritual successor to Boost.FunctionTypes, Boost.CallableTraits is a header-only C++11 library for the compile-time inspection and manipulation of all 'callable' types. Additional support for C++17 features.

C++ 03
Function Types

Boost.FunctionTypes provides functionality to classify, decompose and synthesize function, function pointer, function reference and pointer to member types.

C++ 03
Fusion

Library for working with tuples, including various containers, algorithms, etc.

C++ 03
Hana

A modern C++ metaprogramming library. It provides high level algorithms to manipulate heterogeneous sequences, allows writing type-level computations with a natural syntax, provides tools to introspect user-defined types and much more.

C++ 03
HOF

Higher-order functions for C++

C++ 03
Metaparse

A library for generating compile time parsers parsing embedded DSL code as part of the C++ compilation process

C++ 03
Mp11

A C++11 metaprogramming library.

C++ 03
MPL

The Boost.MPL library is a general-purpose, high-level C++ template metaprogramming framework of compile-time algorithms, sequences and metafunctions. It provides a conceptual foundation and an extensive set of powerful and coherent tools that make doing explict metaprogramming in C++ as easy and enjoyable as possible within the current language.

C++ 03
Proto

Expression template library and compiler construction toolkit for domain-specific embedded languages.

C++ 03
Static Assert

Static assertions (compile time assertions).

C++ 03
TTI

Type Traits Introspection library.

C++ 03
Type Traits

Templates for fundamental properties of types.

C++ 03
YAP

An expression template library for C++14 and later.

C++ 03