|
GREM 3.12.0
Game/Rendering Engine Modules for C++
|
Wrapper type for a compile-time constant value. More...
#include <GREM/core/metaprogramming.hpp>
Public Types | |
| using | type = Constant |
| using | value_type = decltype(X) |
Public Member Functions | |
| constexpr | operator value_type () const noexcept |
| constexpr value_type | operator() () const noexcept |
Static Public Attributes | |
| static constexpr const auto & | value = X |
Wrapper type for a compile-time constant value.
| X | constant value to wrap. |
| using grem::meta::Constant< X >::type = Constant |
| using grem::meta::Constant< X >::value_type = decltype(X) |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
staticconstexpr |