Skip to main content

6 docs tagged with "metaprogramming"

View all tags

Boost.Hana

Boost.Hana is a modern C++14 metaprogramming library that replaces the template-heavy

Boost.MPL

The Boost Metaprogramming Library (MPL) is the original framework for compile-time programming

Boost.Preprocessor

Boost.Preprocessor is a header-only library that turns the C preprocessor — a blunt text-substitution

Boost.TypeTraits

Boost.TypeTraits provides a collection of compile-time type introspection and type

SFINAE and enable_if

SFINAE (Substitution Failure Is Not An Error) is a fundamental C++ template mechanism that enables conditional template compilation. std::enable_if is the primary tool for applying SFINAE in practice.

Type Traits

Type traits are compile-time tools that query and transform types. They power template metaprogramming and SFINAE, letting you write code that adapts to different types automatically.