tfel
Loading...
Searching...
No Matches
IsFundamentalNumericType.hxx File Reference

This file declares the IsFundamentalNumericType traits class and specialises it for standard numerical types. More...

#include <type_traits>
#include "TFEL/Config/TFELConfig.hxx"
#include "TFEL/Math/Forward/Complex.hxx"

Classes

struct  tfel::typetraits::IsFundamentalNumericType< T >
 Traits class which says if its argument is one of the standard numerical types. More...
struct  tfel::typetraits::IsFundamentalNumericType< T >
 partial specialisation for standard arithmetic types More...
struct  tfel::typetraits::IsFundamentalNumericType< tfel::math::Complex< T > >
 partial specialisation for tfel::math::Complex More...
struct  tfel::typetraits::IsFundamentalNumericType< const tfel::math::Complex< T > >
 partial specialisation for const tfel::math::Complex More...

Namespaces

namespace  tfel
 the namespace tfel encloses all the TFEL project. This namespace is empty.

Concepts

concept  tfel::typetraits::StandardArithmeticTypeConcept
concept  tfel::typetraits::FundamentalNumericTypeConcept

Functions

template<typename T>
TFEL_HOST_DEVICE constexpr bool tfel::typetraits::isFundamentalNumericType ()
 a simple helper function

Detailed Description

This file declares the IsFundamentalNumericType traits class and specialises it for standard numerical types.

Author
Thomas Helfer
Date
05/06/2006

Function Documentation

◆ isFundamentalNumericType()

template<typename T>
TFEL_HOST_DEVICE constexpr bool tfel::typetraits::isFundamentalNumericType ( )
constexpr

a simple helper function

Template Parameters
Ttype tested