libstdc++
std::integral_constant< _Tp, __v > Struct Template Reference
Inheritance diagram for std::integral_constant< _Tp, __v >:
[legend]

Public Types

typedef integral_constant< _Tp, __v > type
 
typedef _Tp value_type
 

Public Member Functions

constexpr operator value_type () const noexcept
 
constexpr value_type operator() () const noexcept
 

Static Public Attributes

static constexpr _Tp value
 

Detailed Description

template<typename _Tp, _Tp __v>
struct std::integral_constant< _Tp, __v >

integral_constant

Definition at line 62 of file type_traits.

Member Typedef Documentation

◆ type

template<typename _Tp , _Tp __v>
typedef integral_constant<_Tp, __v> std::integral_constant< _Tp, __v >::type

Definition at line 66 of file type_traits.

◆ value_type

template<typename _Tp , _Tp __v>
typedef _Tp std::integral_constant< _Tp, __v >::value_type

Definition at line 65 of file type_traits.

Member Function Documentation

◆ operator value_type()

template<typename _Tp , _Tp __v>
constexpr std::integral_constant< _Tp, __v >::operator value_type ( ) const
inlineconstexprnoexcept

Definition at line 67 of file type_traits.

◆ operator()()

template<typename _Tp , _Tp __v>
constexpr value_type std::integral_constant< _Tp, __v >::operator() ( ) const
inlineconstexprnoexcept

Definition at line 72 of file type_traits.

Member Data Documentation

◆ value

template<typename _Tp , _Tp __v>
constexpr _Tp std::integral_constant< _Tp, __v >::value
staticconstexpr

Definition at line 64 of file type_traits.


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