Public Types | Static Public Member Functions | List of all members
typeIsScalar Class Reference

Checks if type is numeric. More...

#include <TypeUtils.h>

Public Types

typedef bool value_t
 

Static Public Member Functions

template<class S , class T >
static T callback ()
 

Detailed Description

Checks if type is numeric.

https://en.cppreference.com/w/cpp/types/numeric_limits/is_specialized

Usage: Type::call<drain::typeIsScalar>(t)

Member Function Documentation

◆ callback()

static T callback ( )
inlinestatic
Template Parameters
S- selector type
T- destination type (practically value_t)

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