SyTen
syten::is_number< T > Struct Template Reference

is_number<T>::value is true if T is a scalar type. More...

#include <types.h>

+ Inheritance diagram for syten::is_number< T >:
+ Collaboration diagram for syten::is_number< T >:

Detailed Description

template<typename T>
struct syten::is_number< T >

is_number<T>::value is true if T is a scalar type.

Explicitly specialised for all scalar values.

Remarks
the STL already defines a std::is_scalar which is true for pointers, integers, enums and all arithmetic types. Here, I strictly only want numbers.

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