Poplar and PopLibs
poplar::TypeTraits Struct Reference

A structure to provide information about arithmetic (integer and floating point) types. More...

#include <TypeTraits.hpp>

Static Public Member Functions

template<typename T >
static constexpr bool isSimpleType ()
 Test if argument is a basic numeric type. More...
 

Detailed Description

A structure to provide information about arithmetic (integer and floating point) types.

Member Function Documentation

◆ isSimpleType()

template<typename T >
constexpr bool poplar::TypeTraits::isSimpleType
staticconstexpr

Test if argument is a basic numeric type.

Return true if std::is_integral<> is true or if std::is_floating_point<> is true.


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