Defines type traits such as their values zero, one etc.
More...
#include <capd/basicalg/TypeTraits.h>
|
static constexpr T | zero () noexcept |
| returns object set to zero More...
|
|
static constexpr T | one () noexcept |
| returns object set to one More...
|
|
static constexpr T | max (T a, T b) noexcept |
|
static constexpr T | min (T a, T b) noexcept |
|
template<typename T>
class capd::TypeTraits< T >
Defines type traits such as their values zero, one etc.
CAPD types should define specialization in their header files.
Known specialization are in
◆ Real
◆ max()
◆ min()
◆ one()
template<typename T >
|
inlinestaticconstexprnoexcept |
returns object set to one
◆ zero()
template<typename T >
|
inlinestaticconstexprnoexcept |
returns object set to zero