Template Numerical Library version\ main:4e58ea6
Loading...
Searching...
No Matches
TNL::IsScalarType< T > Struct Template Reference

Type trait for checking if T is a scalar type (in the mathemtatical sense). Not to be confused with std::is_scalar. More...

#include <TNL/TypeTraits.h>

Inheritance diagram for TNL::IsScalarType< T >:
Collaboration diagram for TNL::IsScalarType< T >:

Detailed Description

template<typename T>
struct TNL::IsScalarType< T >

Type trait for checking if T is a scalar type (in the mathemtatical sense). Not to be confused with std::is_scalar.

For example, arithmetic types as defined by the STL are scalar types. TNL also provides additional scalar types, e.g. for extended precision arithmetics. Users may also define specializations of this trait class for their custom scalar types.


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