std::integral_constant man page

std::integral_constant< _Tp, __v > — integral_constant

Synopsis

Inherited by std::experimental::fundamentals_v1::__is_optional_impl< std::remove_cv_t< std::remove_reference_t< _Tp > > >, std::__and_<>, std::__detail::__has_contiguous_iter< _Tp >, std::__detail::__has_contiguous_iter< std::basic_string< _Ch, _Tr, _Alloc > >, std::__detail::__has_contiguous_iter< std::vector< _Tp, _Alloc > >, std::__detail::__is_contiguous_normal_iter< _Tp >, std::__detail::__is_contiguous_normal_iter< __gnu_cxx::__normal_iterator< _Tp, _Cont > >, std::__detail::__is_contiguous_normal_iter< _CharT * >, std::__detail::__is_noexcept_hash< _Key, _Hash >, std::__has_argument_type< _Tp, typename >, std::__has_argument_type< _Tp, __void_t< typename _Tp::argument_type > >, std::__has_first_argument_type< _Tp, typename >, std::__has_first_argument_type< _Tp, __void_t< typename _Tp::first_argument_type > >, std::__has_second_argument_type< _Tp, typename >, std::__has_second_argument_type< _Tp, __void_t< typename _Tp::second_argument_type > >, std::__is_empty_non_tuple< tuple< _El0, _El... > >, 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_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_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_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< _Res(_Args...)>, std::__is_referenceable< _Res(_Args......)>, std::__is_signed_helper< _Tp, bool >, std::__is_tuple_like< _Tp >, 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::__or_<>, std::__parse_int::_Number< _Base, _Digs >, std::__parse_int::_Number< _Base >, std::__parse_int::_Parse_int< '0', 'b', _Digs... >, std::__parse_int::_Parse_int< '0', _Digs... >, std::__parse_int::_Power< _Base, _Digs >, std::__parse_int::_Power< _Base >, std::__sp_compatible< _Tp[_Nm], _Tp[]>, std::__sp_compatible< _Tp[_Nm], const _Tp[]>, std::__uses_allocator_helper< _Tp, _Alloc, typename >, std::_AllConvertible< _From, _To, bool >, std::chrono::__is_duration< _Tp >, std::chrono::__is_duration< duration< _Rep, _Period > >, std::chrono::__is_ratio< _Tp >, std::chrono::__is_ratio< ratio< _Num, _Den > >, std::experimental::filesystem::v1::path::__is_encoded_char< char >, std::experimental::filesystem::v1::path::__is_encoded_char< char16_t >, std::experimental::filesystem::v1::path::__is_encoded_char< char32_t >, std::experimental::filesystem::v1::path::__is_encoded_char< wchar_t >, std::experimental::fundamentals_v1::__is_optional_impl< typename >, std::experimental::fundamentals_v1::__is_optional_impl< optional< _Tp > >, std::experimental::fundamentals_v1::__is_std_equal_to< _Pred >, std::experimental::fundamentals_v1::__is_std_equal_to< std::equal_to< void > >, std::experimental::fundamentals_v1::_Has_addressof_free< _Tp, typename >, std::experimental::fundamentals_v1::_Has_addressof_free< _Tp, __void_t< decltype(operator &(std::declval< const _Tp & >()))>, std::experimental::fundamentals_v1::_Has_addressof_mem< _Tp, typename >, std::experimental::fundamentals_v1::_Has_addressof_mem< _Tp, __void_t< decltype(std::declval< const _Tp & >().operator &())>, std::experimental::fundamentals_v2::__is_reference_wrapper< _Up >, std::experimental::fundamentals_v2::__is_reference_wrapper< reference_wrapper< _Up > >, std::is_array< typename >, std::is_array< _Tp[]>, std::is_array< _Tp[_Size]>, 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_const< typename >, std::is_const< _Tp const >, 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_function< typename >, std::is_function< _Res(_ArgTypes...) & >, std::is_function< _Res(_ArgTypes...) && >, std::is_function< _Res(_ArgTypes...) const & >, std::is_function< _Res(_ArgTypes...) const && >, std::is_function< _Res(_ArgTypes...) const >, std::is_function< _Res(_ArgTypes...) const volatile & >, std::is_function< _Res(_ArgTypes...) const volatile && >, std::is_function< _Res(_ArgTypes...) const volatile >, std::is_function< _Res(_ArgTypes...) volatile & >, std::is_function< _Res(_ArgTypes...) volatile && >, std::is_function< _Res(_ArgTypes...) volatile >, std::is_function< _Res(_ArgTypes...)>, std::is_function< _Res(_ArgTypes......) & >, std::is_function< _Res(_ArgTypes......) && >, std::is_function< _Res(_ArgTypes......) const & >, std::is_function< _Res(_ArgTypes......) const && >, std::is_function< _Res(_ArgTypes......) const >, std::is_function< _Res(_ArgTypes......) const volatile & >, std::is_function< _Res(_ArgTypes......) const volatile && >, std::is_function< _Res(_ArgTypes......) const volatile >, std::is_function< _Res(_ArgTypes......) volatile & >, std::is_function< _Res(_ArgTypes......) volatile && >, std::is_function< _Res(_ArgTypes......) volatile >, std::is_function< _Res(_ArgTypes......)>, std::is_integral< _Tp >, std::is_lvalue_reference< typename >, std::is_lvalue_reference< _Tp & >, std::is_member_function_pointer< _Tp >, std::is_member_pointer< _Tp >, std::is_rvalue_reference< typename >, std::is_rvalue_reference< _Tp && >, std::is_void< _Tp >, std::is_volatile< typename >, std::is_volatile< _Tp volatile >, std::uses_allocator< packaged_task< _Res >, _Alloc >, std::uses_allocator< promise< _Res >, _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

constexpr value_type operator() () const

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 69 of file type_traits.

Author

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

Info

Fri Sep 16 2016 libstdc++