Namespace meta


Namespace for our meta-programming facilities.

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


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.


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


Line 19 in breeze/meta/constant.hpp.