10 #ifndef BOOST_BEAST_DETAIL_INTEGER_SEQUENCE_HPP 11 #define BOOST_BEAST_DETAIL_INTEGER_SEQUENCE_HPP 13 #include <boost/config.hpp> 15 #include <type_traits> 22 template<
class T, T... Ints>
30 static std::size_t constexpr
size()
32 return sizeof...(Ints);
36 template<std::size_t... Ints>
40 template<
class... Args>
43 static std::size_t constexpr
size =
sizeof... (Args);
50 template<
class T,
unsigned long long N,
class Seq>
51 struct make_integer_sequence_unchecked;
53 template<
class T,
unsigned long long N,
unsigned long long ...Indices>
54 struct make_integer_sequence_unchecked<
57 using type =
typename make_integer_sequence_unchecked<
61 template<
class T,
unsigned long long ...Indices>
62 struct make_integer_sequence_unchecked<
68 template<
class T, T N>
69 struct make_integer_sequence_checked
74 using type =
typename make_integer_sequence_unchecked<
78 template<
class T, T N>
80 typename make_integer_sequence_checked<T, N>::type;
82 template<std::
size_t N>
85 template<
class... Args>
93 template<std::size_t... Ints>
100 template<std::
size_t N>
112 template<
class T, T N,
117 template<
class T, T N, std::size_t... Ints>
126 template<
class T, T N>
130 template<std::
size_t N>
133 template<
class... Args>
134 using index_sequence_for =
T value_type
Definition: integer_sequence.hpp:25
Definition: async_result.hpp:20
static std::size_t constexpr static_size
Definition: integer_sequence.hpp:28
make_index_sequence< sizeof_workaround< Args... >::size > index_sequence_for
Definition: integer_sequence.hpp:135
typename integer_sequence_helper< T, N >::type make_integer_sequence
Definition: integer_sequence.hpp:128
Definition: integer_sequence.hpp:94
Definition: integer_sequence.hpp:41
static std::size_t constexpr size()
Definition: integer_sequence.hpp:30
Definition: integer_sequence.hpp:101
Definition: integer_sequence.hpp:23
Definition: integer_sequence.hpp:115
make_integer_sequence< std::size_t, N > make_index_sequence
Definition: integer_sequence.hpp:131
BOOST_STATIC_ASSERT(std::is_integral< T >::value)
typename build_index_tuple< N-1 >::type::next type
Definition: integer_sequence.hpp:103