VCTR
Loading...
Searching...
No Matches
vctr::ExpressionTemplateBase::ExpressionTypes< ReturnElementType, SrcTypes >::ElementTraits< T > Struct Template Reference

Some common traits you want to check when constraining expression template functions. More...

Public Types

using Type = T
 

Static Public Attributes

static constexpr auto isRealFloat = is::realFloatNumber<Type>
 
static constexpr auto isSigned = std::is_signed_v<Type>
 
static constexpr auto isUnsigned = std::is_unsigned_v<Type>
 
static constexpr auto isInt = std::is_integral_v<Type>
 
static constexpr auto isSignedInt = isSigned & isInt
 
static constexpr auto isComplexFloat = is::complexFloatNumber<Type>
 
static constexpr auto isInt32 = std::same_as<int32_t, Type>
 
static constexpr auto isUint32 = std::same_as<uint32_t, Type>
 
static constexpr auto isInt64 = std::same_as<int64_t, Type>
 
static constexpr auto isUint64 = std::same_as<uint64_t, Type>
 
static constexpr auto isFloat = std::same_as<float, Type>
 
static constexpr auto isDouble = std::same_as<double, Type>
 

Detailed Description

template<class ReturnElementType, class... SrcTypes>
template<class T>
struct vctr::ExpressionTemplateBase::ExpressionTypes< ReturnElementType, SrcTypes >::ElementTraits< T >

Some common traits you want to check when constraining expression template functions.


The documentation for this struct was generated from the following file: