TypeTraits
#include <poplar/TypeTraits.hpp>
-
namespace poplar
Poplar classes and functions.
-
struct TypeTraits
- #include <TypeTraits.hpp>
A structure to provide information about arithmetic (integer and floating point) types.
Public Functions
-
inline bool isSimpleType() const
Public Static Functions
-
template<typename T>
static TypeTraits make()
-
template<typename T>
static constexpr bool isSimpleType() Test if argument is a basic numeric type.
Return true if
std::is_integral<>
is true or ifstd::is_floating_point<>
is true.
-
template<typename T>
static constexpr bool requiresMetadata()
-
template<>
static inline TypeTraits make()
-
template<>
static inline TypeTraits make()
-
template<>
static inline TypeTraits make()
-
template<>
static constexpr bool isSimpleType()
-
template<>
static constexpr bool isSimpleType()
-
template<>
static constexpr bool requiresMetadata()
-
inline bool isSimpleType() const
-
struct TypeTraits