Scroll to navigation

std::integral_constant< _Tp, __v >(3cxx) std::integral_constant< _Tp, __v >(3cxx)

NAME

std::integral_constant< _Tp, __v > - integral_constant

SYNOPSIS

#include <type_traits>

Inherited by std::__is_constructible_impl< _Tp, const _Tp & >, std::__is_constructible_impl< _Tp, _Tp && >, std::__is_constructible_impl< _Tp, _Args... >, std::__not_< is_array< _Tp > >, std::is_base_of< random_access_iterator_tag, __iterator_category_t< _It > >, std::__and_<>, std::__call_is_nothrow< _Result, _Fn, _Args >, std::__detail::__is_contiguous_iter< __gnu_cxx::__normal_iterator< _Tp *, _Cont > >, std::__is_alloc_insertable_impl< _Alloc, _Tp, _ValueT, typename >, std::__is_alloc_insertable_impl< _Alloc, _Tp, _ValueT, __void_t< decltype(allocator_traits< _Alloc >::construct(std::declval< _Alloc & >(), std::declval< _ValueT * >(), std::declval< _Tp >()))> >, std::__is_allocator< _Alloc, typename >, std::__is_allocator< _Alloc, __void_t< typename _Alloc::value_type, decltype(std::declval< _Alloc & >().allocate(size_t{}))> >, std::__is_bitwise_relocatable<::deque< _Tp > >, std::__is_byte_like< _Tp, _Pred >, std::__is_byte_like< _Tp, equal_to< _Tp > >, std::__is_byte_like< _Tp, equal_to< void > >, std::__is_constructible_impl< _Tp, _Args >, std::__is_copy_assignable_impl< _Tp, false >, std::__is_copy_assignable_impl< _Tp, true >, std::__is_copy_constructible_impl< _Tp, false >, std::__is_copy_insertable< _Alloc >, std::__is_destructible_safe< _Tp, false, true >, std::__is_destructible_safe< _Tp, true, false >, std::__is_empty_non_tuple< tuple< _El0, _El... > >, std::__is_extractable< _Istream, _Tp, typename >, std::__is_extractable< _Istream, _Tp, __void_t< decltype(declval< _Istream & >() > > declval< _Tp >())> >, std::__is_fast_hash< _Hash >, std::__is_fast_hash< hash< experimental::string_view > >, std::__is_fast_hash< hash< experimental::u16string_view > >, std::__is_fast_hash< hash< experimental::u32string_view > >, std::__is_fast_hash< hash< experimental::wstring_view > >, std::__is_fast_hash< hash< long double > >, std::__is_fast_hash< hash< string > >, std::__is_fast_hash< hash< u16string > >, std::__is_fast_hash< hash< u32string > >, std::__is_fast_hash< hash< wstring > >, std::__is_floating_point_helper< typename >, std::__is_floating_point_helper< double >, std::__is_floating_point_helper< float >, std::__is_floating_point_helper< long double >, std::__is_insertable< _Ostream, _Tp, typename >, std::__is_insertable< _Ostream, _Tp, __void_t< decltype(declval< _Ostream & >()<< declval< const _Tp & >())> >, std::__is_integral_helper< typename >, std::__is_integral_helper< bool >, std::__is_integral_helper< char >, std::__is_integral_helper< char16_t >, std::__is_integral_helper< char32_t >, std::__is_integral_helper< int >, std::__is_integral_helper< long >, std::__is_integral_helper< long long >, std::__is_integral_helper< short >, std::__is_integral_helper< signed char >, std::__is_integral_helper< unsigned char >, std::__is_integral_helper< unsigned int >, std::__is_integral_helper< unsigned long >, std::__is_integral_helper< unsigned long long >, std::__is_integral_helper< unsigned short >, std::__is_integral_helper< wchar_t >, std::__is_invocable_impl< _Result, _Ret, bool, typename >, std::__is_invocable_impl< _Result, _Ret, true, __void_t< typename _Result::type > >, std::__is_location_invariant< __future_base::_State_base::_Setter< _Res, _Arg > >, std::__is_location_invariant< __future_base::_Task_setter< _Res_ptr, _Fn, _Res > >, std::__is_member_function_pointer_helper< typename >, std::__is_member_object_pointer_helper< typename >, std::__is_member_pointer_helper< _Tp >, std::__is_member_pointer_helper< _Tp _Cp::* >, std::__is_move_assignable_impl< _Tp, false >, std::__is_move_assignable_impl< _Tp, true >, std::__is_move_constructible_impl< _Tp, false >, std::__is_move_insertable< _Alloc >, std::__is_nothrow_copy_constructible_impl< _Tp, false >, std::__is_nothrow_move_constructible_impl< _Tp, false >, std::__is_nt_constructible_impl< bool, _Tp, _Args >, std::__is_nt_constructible_impl< true, _Tp >, std::__is_nt_constructible_impl< true, _Tp, _Arg >, std::__is_nt_constructible_impl< true, _Tp, _Args... >, std::__is_nt_constructible_impl< true, _Tp[_Num]>, std::__is_nt_copy_assignable_impl< _Tp, false >, std::__is_nt_destructible_safe< _Tp, false, true >, std::__is_nt_destructible_safe< _Tp, true, false >, std::__is_nt_move_assignable_impl< _Tp, false >, std::__is_null_pointer_helper< typename >, std::__is_null_pointer_helper< std::nullptr_t >, std::__is_pointer_helper< typename >, std::__is_pointer_helper< _Tp * >, std::__is_referenceable< _Tp, typename >, std::__is_referenceable< _Tp, __void_t< _Tp & > >, std::__is_signed_helper< _Tp, bool >, std::__is_trivially_copy_assignable_impl< _Tp, false >, std::__is_trivially_copy_assignable_impl< _Tp, true >, std::__is_trivially_copy_constructible_impl< _Tp, false >, std::__is_trivially_move_assignable_impl< _Tp, false >, std::__is_trivially_move_assignable_impl< _Tp, true >, std::__is_trivially_move_constructible_impl< _Tp, false >, std::__is_tuple_like_impl< typename >, std::__is_tuple_like_impl< std::__debug::array< _Tp, _Nm > >, std::__is_tuple_like_impl< std::pair< _T1, _T2 > >, std::__is_tuple_like_impl< tuple< _Tps... > >, std::__is_tuple_like_impl<::array< _Tp, _Nm > >, std::__is_void_helper< typename >, std::__is_void_helper< void >, std::__not_< _Pp >, std::__or_<>, std::__parse_int::_Number< _Base, _Digs >, std::__parse_int::_Number< _Base >, std::__parse_int::_Parse_int< _Digs >, std::__parse_int::_Parse_int< '0', 'B', _Digs... >, std::__parse_int::_Parse_int< '0', 'X', _Digs... >, std::__parse_int::_Parse_int< '0', 'b', _Digs... >, std::__parse_int::_Parse_int< '0', 'x', _Digs... >, std::__parse_int::_Parse_int< '0', _Digs... >, std::__parse_int::_Power< _Base, _Digs >, std::__parse_int::_Power< _Base >, std::__sp_compatible_with< _Yp_ptr, _Tp_ptr >, std::__sp_compatible_with< _Up(*)[_Nm], _Up(*)[]>, std::__sp_compatible_with< _Up(*)[_Nm], const _Up(*)[]>, std::__sp_compatible_with< _Up(*)[_Nm], const volatile _Up(*)[]>, std::__sp_compatible_with< _Up(*)[_Nm], volatile _Up(*)[]>, std::__sp_is_constructible_arr< _Up, _Yp, typename >, std::__sp_is_constructible_arrN< _Up, _Nm, _Yp, typename >, std::__uses_allocator_helper< _Tp, _Alloc, typename >, std::experimental::fundamentals_v2::__make_array_elem< void, _Types... >::__is_reference_wrapper< typename >, std::experimental::fundamentals_v2::__make_array_elem< void, _Types... >::__is_reference_wrapper< reference_wrapper< _Up > >, std::is_array< typename >, std::is_array< _Tp[]>, std::is_array< _Tp[_Size]>, std::is_assignable< _Tp, _Up >, std::is_bind_expression< _Tp >, std::is_bind_expression< _Bind< _Signature > >, std::is_bind_expression< _Bind_result< _Result, _Signature > >, std::is_bind_expression< const _Bind< _Signature > >, std::is_bind_expression< const _Bind_result< _Result, _Signature > >, std::is_bind_expression< const volatile _Bind< _Signature > >, std::is_bind_expression< const volatile _Bind_result< _Result, _Signature > >, std::is_bind_expression< volatile _Bind< _Signature > >, std::is_bind_expression< volatile _Bind_result< _Result, _Signature > >, std::is_compound< _Tp >, std::is_const< typename >, std::is_const< _Tp const >, std::is_default_constructible< _Tp >, std::is_error_code_enum< _Tp >, std::is_error_code_enum< future_errc >, std::is_error_code_enum< io_errc >, std::is_error_condition_enum< _Tp >, std::is_error_condition_enum< errc >, std::is_floating_point< _Tp >, std::is_function< _Tp >, std::is_function< _Tp & >, std::is_function< _Tp && >, std::is_integral< _Tp >, std::is_lvalue_reference< typename >, std::is_lvalue_reference< _Tp & >, std::is_member_function_pointer< _Tp >, std::is_member_object_pointer< _Tp >, std::is_member_pointer< _Tp >, std::is_nothrow_constructible< _Tp, _Args >, std::is_nothrow_default_constructible< _Tp >, std::is_null_pointer< _Tp >, std::is_object< _Tp >, std::is_pointer< _Tp >, std::is_rvalue_reference< typename >, std::is_rvalue_reference< _Tp && >, std::is_same< _Tp, _Up >, std::is_same< _Tp, _Tp >, std::is_trivially_assignable< _Tp, _Up >, std::is_trivially_constructible< _Tp, _Args >, std::is_trivially_default_constructible< _Tp >, std::is_void< _Tp >, std::is_volatile< typename >, std::is_volatile< _Tp volatile >, std::uses_allocator< _Tp, _Alloc >, std::uses_allocator< packaged_task< _Res >, _Alloc >, std::uses_allocator< priority_queue< _Tp, _Sequence, _Compare >, _Alloc >, std::uses_allocator< promise< _Res >, _Alloc >, std::uses_allocator< queue< _Tp, _Seq >, _Alloc >, std::uses_allocator< stack< _Tp, _Seq >, _Alloc >, and std::uses_allocator< tuple< _Types... >, _Alloc >.

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

Author

Generated automatically by Doxygen for libstdc++ from the source code.

libstdc++