Namespace meta
Description
Namespace for our meta-programming facilities.
This namespace also hosts the meta-programming facilities designed before C++ had constexpr
.
Classes
constant | Wrapper for (integral) constant expressions. | |
has_sign | A meta::constant yielding whether a type allows negative values. | |
padding | Metafunction yielding the number of padding bits of a type. | |
precision | Metafunction yielding the precision of a type. | |
select | Compile-time selection between types. | |
select_ | Like select , but with the condition represented as a bool value, not a type. | |
unqualify | Metafunction to get the corresponding unqualified type of its argument. | |
width | Metafunction yielding the width of a type. |
Functions
is_2s_complement | Tells whether a type uses a two's complement representation. |
Source
Line 19 in breeze/meta/constant.hpp.