A wrapper around a numeric literal that enables using floats as template parameters.
More...
|
using | type = T |
| The underlying numeric type.
|
|
|
_consteval | num_literal (T f) |
| Constructor enabling initialization from a literal constant.
|
|
| operator T () |
| Conversion operator so that the num_literal can be treated roughly as if it is of T type.
|
|
|
T | value |
| The value of the constant.
|
|
template<typename T>
requires std::integral<T> || std::floating_point<T>
struct sygaldry::num_literal< T >
A wrapper around a numeric literal that enables using floats as template parameters.
The documentation for this struct was generated from the following file: