XX CMake Package
Loading...
Searching...
No Matches
CompilerTests

template test functions More...

Detailed Description

template test functions

Typedefs

template<typename TestType>
using XX::isIntegerType = typename std::enable_if<std::is_integral<TestType>::value, bool>::type
template<typename TestType>
using XX::isFloatType = typename std::enable_if<std::is_floating_point<TestType>::value, bool>::type
template<typename TestType>
using XX::isSigned = typename std::enable_if<std::is_signed<TestType>::value, bool>::type
template<typename TestType>
using XX::isUnsigned = typename std::enable_if<!std::is_signed<TestType>::value, bool>::type

Typedef Documentation

◆ isFloatType

template<typename TestType>
using XX::isFloatType = typename std::enable_if<std::is_floating_point<TestType>::value, bool>::type

◆ isIntegerType

template<typename TestType>
using XX::isIntegerType = typename std::enable_if<std::is_integral<TestType>::value, bool>::type

◆ isSigned

template<typename TestType>
using XX::isSigned = typename std::enable_if<std::is_signed<TestType>::value, bool>::type

◆ isUnsigned

template<typename TestType>
using XX::isUnsigned = typename std::enable_if<!std::is_signed<TestType>::value, bool>::type