STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Types | Public Member Functions | Static Public Attributes | List of all members
integral_constant< _Ty, _Val > Struct Template Reference
Inheritance diagram for integral_constant< _Ty, _Val >:
_All_same<> _Are_ratios< _Ty1, _Ty2 > _Are_ratios< ratio< _N1, _D1 >, ratio< _N2, _D2 > > _Equal_memcmp_is_safe_helper< _Elem1, _Elem2, _Pr > _Equal_memcmp_is_safe_helper< _Elem, _Elem, _Char_traits_eq< char_traits< _Elem > > > _Equal_memcmp_is_safe_helper< _Elem, _Elem, equal_to< _Elem > > _Equal_memcmp_is_safe_helper< _Elem1 *, _Elem2 *, equal_to<> > _Has_allocator_type< _Ty, _Alloc, class > _Has_no_alloc_construct< _Void, _Types > _Has_no_alloc_construct< void_t< _Has_no_alloc_construct_tag, decltype(_STD declval< _Alloc & >().construct(_STD declval< _Ptr >(), _STD declval< _Args >()...))>, _Alloc, _Ptr, _Args...> _Has_no_alloc_destroy< _Alloc, _Ptr, class > _Has_no_alloc_destroy< _Alloc, _Ptr, void_t< _Has_no_alloc_destroy_tag, decltype(_STD declval< _Alloc & >().destroy(_STD declval< _Ptr >()))> > _Is_callable1< _Void, _Rx, _Types > _Is_callable2< _Was_void, _Was_convertible, _Rx, _Types > _Is_callable2< false, false, _Rx, _Types...> _Is_callable2< false, true, _Rx, _Types...> _Is_callable2< is_void< _Rx >::value, is_convertible< decltype(_STD invoke(_STD declval< _Types >()...)), _Rx >::value, _Rx, _Types...> _Is_character< _Ty > _Is_character< char > _Is_character< signed char > _Is_character< unsigned char > _Is_checked_helper< _Ty, class > _Is_checked_helper< _RanIt > _Is_checked_helper< _Ty, void_t< typename _Ty::_Unchecked_type > > _Is_checked_helper< _Vb_const_iterator< _Alloc > > _Is_checked_helper< _Vb_iterator< _Alloc > > _Is_checked_helper< back_insert_iterator< _Container > > _Is_checked_helper< front_insert_iterator< _Container > > _Is_checked_helper< insert_iterator< _Container > > _Is_checked_helper< istream_iterator< _Ty, _Elem, _Traits, _Diff > > _Is_checked_helper< istreambuf_iterator< _Elem, _Traits > > _Is_checked_helper< ostream_iterator< _Ty, _Elem, _Traits > > _Is_checked_helper< ostreambuf_iterator< _Elem, _Traits > > _Is_default_allocator< _Alloc, class > _Is_default_allocator< allocator< _Ty >, typename allocator< _Ty >::_Not_user_specialized > _Is_floating_point< _Ty > _Is_floating_point< double > _Is_floating_point< float > _Is_floating_point< long double > _Is_floating_point< remove_cv< _Rep >::type > _Is_floating_point< remove_cv< _Ty >::type > _Is_in_place_index_specialization< class > _Is_in_place_index_specialization< in_place_index_t< _Idx > > _Is_integral< _Ty > _Is_integral< bool > _Is_integral< char > _Is_integral< char16_t > _Is_integral< char32_t > _Is_integral< long long > _Is_integral< remove_cv< _Ty >::type > _Is_integral< signed char > _Is_integral< signed int > _Is_integral< signed long > _Is_integral< signed short > _Is_integral< unsigned char > _Is_integral< unsigned int > _Is_integral< unsigned long > _Is_integral< unsigned long long > _Is_integral< unsigned short > _Is_iterator< _Ty, class > _Is_iterator< _Ty, void_t< typename iterator_traits< _Ty >::iterator_category > > _Is_member_object_pointer< _Ty, _Pmf > _Is_member_object_pointer< _Ty1 _Ty2::*, false > _Is_pointer< _Ty > _Is_pointer< remove_cv< _Ty >::type > _Is_specialization< _Type, _Template > _Is_specialization< _Template< _Types...>, _Template > _Swappable_with_helper< _Ty, class > _Swappable_with_helper< _Ty1, _Ty2, void_t< _Swappable_with_helper_unique_type, decltype(swap(_STD declval< _Ty1 >(), _STD declval< _Ty2 >()))> > _Tuple_explicit_val< _Dest, _Srcs > _Tuple_explicit_val0< _Same, _Dest, _Srcs > _Tuple_implicit_val< _Dest, _Srcs > _Tuple_implicit_val0< _Same, _Dest, _Srcs > _Tuple_perfect_val< _Myt, _This2, _Rest2 > chrono::_Is_duration< _Ty > chrono::_Is_duration< duration< _Rep, _Period > > Concurrency::details::std::_Is_checked_helper< _Concurrent_queue_iterator< _Container, _Value > > Concurrency::details::std::_Is_checked_helper< _Vector_iterator< _Container, _Value > > is_array< _Ty > is_array< _Ty[]> is_array< _Ty[_Nx]> is_bind_expression< _Tx > is_bind_expression< _Binder< _Ret, _Fx, _Types...> > is_const< _Ty > is_const< const _Ty > is_error_code_enum< _Enum > is_error_code_enum< _Future_errc > is_error_code_enum< _Io_errc > is_error_condition_enum< _Enum > is_error_condition_enum< _Errc > is_function< _Ty > is_lvalue_reference< _Ty > is_lvalue_reference< _Ty & > is_member_function_pointer< _Ty > is_rvalue_reference< _Ty > is_rvalue_reference< _Ty && > is_same< _Ty1, _Ty2 > is_same< _Ty1, _Ty1 > is_void< _Ty > is_volatile< _Ty > is_volatile< volatile _Ty > ratio_less< _R1, _R2 > std::uses_allocator< function< _Fty >, _Alloc > uses_allocator< variant< _Types...>, _Alloc >

Public Types

typedef _Ty value_type
 
typedef integral_constant< _Ty, _Valtype
 

Public Member Functions

constexpr operator value_type () const _NOEXCEPT
 
constexpr value_type operator() () const _NOEXCEPT
 

Static Public Attributes

static constexpr _Ty value = _Val
 

Member Typedef Documentation

template<class _Ty, _Ty _Val>
typedef integral_constant<_Ty, _Val> integral_constant< _Ty, _Val >::type
template<class _Ty, _Ty _Val>
typedef _Ty integral_constant< _Ty, _Val >::value_type

Member Function Documentation

template<class _Ty, _Ty _Val>
constexpr integral_constant< _Ty, _Val >::operator value_type ( ) const
inline
31  { // return stored value
32  return (value);
33  }
static constexpr _Ty value
Definition: xtr1common:25
template<class _Ty, _Ty _Val>
constexpr value_type integral_constant< _Ty, _Val >::operator() ( ) const
inline
36  { // return stored value
37  return (value);
38  }
static constexpr _Ty value
Definition: xtr1common:25

Member Data Documentation

template<class _Ty, _Ty _Val>
constexpr _Ty integral_constant< _Ty, _Val >::value = _Val
static

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