Namespace meta

Description

Namespace for our meta-programming facilities.

This namespace also hosts the meta-programming facilities designed before C++ had constexpr.

Classes

constantWrapper for (integral) constant expressions.
has_signA meta::constant yielding whether a type allows negative values.
paddingMetafunction yielding the number of padding bits of a type.
precisionMetafunction yielding the precision of a type.
selectCompile-time selection between types.
select_Like select, but with the condition represented as a bool value, not a type.
unqualifyMetafunction to get the corresponding unqualified type of its argument.
widthMetafunction yielding the width of a type.

Functions

is_2s_complementTells whether a type uses a two's complement representation.

Source

Line 19 in breeze/meta/constant.hpp.