Calico
 All Classes Namespaces Files Functions Variables Typedefs Friends Groups
cal::is_integral< T > Struct Template Reference

Returns whether the type is an integral type (only works on fundamental types). More...

#include <cxx11.hpp>

Inherits cal::_priv::is_integral2< remove_cv< T >::type >.

Public Types

typedef integral_constant type
 Type of the integral_constant.
 
typedef T value_type
 Type of the value.
 

Public Member Functions

constexpr operator value_type () const
 Converts the integral constant type into its constant value.
 

Static Public Attributes

static const value_type value = Value
 Value stored in this type.
 

Detailed Description

template<class T>
struct cal::is_integral< T >

Returns whether the type is an integral type (only works on fundamental types).