Click
Loading...
Searching...
No Matches
Public Types | Static Public Attributes | List of all members
integral_constant< T, V > Class Template Reference

Type wrapper for an integral constant V. More...

#include <type_traits.hh>

Inheritance diagram for integral_constant< T, V >:
has_trivial_copy< T > is_reference< T >

Public Types

typedef integral_constant< T, V > type
 
typedef T value_type
 

Static Public Attributes

static constexpr T value = V
 

Detailed Description

template<typename T, T V>
class integral_constant< T, V >

Type wrapper for an integral constant V.

Offers the following members:

type
The type itself.
value_type
The type argument T.
value
The value argument V.

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