28 #ifndef BSL_INTEGER_SEQUENCE_HPP 29 #define BSL_INTEGER_SEQUENCE_HPP 31 #include "details/integer_sequence_max.hpp" 32 #include "details/integer_sequence_min.hpp" 51 template<
typename T, T... INTS>
68 return sizeof...(INTS);
78 [[nodiscard]]
static constexpr T
81 return details::integer_sequence_max<T, INTS...>::value;
91 [[nodiscard]]
static constexpr T
94 return details::integer_sequence_min<T, INTS...>::value;
103 template<
typename T, T N>
107 template<bsl::u
intmax N>
111 template<
typename... T>
make_index_sequence< sizeof...(T)> index_sequence_for
helper alias that makes an index sequence given a list of types
Definition: integer_sequence.hpp:112
__make_integer_seq< integer_sequence, T, N > make_integer_sequence
helper alias that makes integer sequences
Definition: integer_sequence.hpp:104
The class template std::integer_sequence represents a compile-time sequence of integers....
Definition: integer_sequence.hpp:52
T value_type
provides the member typedef "value_type"
Definition: integer_sequence.hpp:56
make_integer_sequence< bsl::uintmax, N > make_index_sequence
helper alias that makes integer sequences for bsl::uintmax
Definition: integer_sequence.hpp:108
static constexpr bsl::uintmax size() noexcept
Equivalent to sizeof...(INTS)
Definition: integer_sequence.hpp:66
static constexpr T min() noexcept
Returns the min integer in the sequence.
Definition: integer_sequence.hpp:92
static constexpr T max() noexcept
Returns the max integer in the sequence.
Definition: integer_sequence.hpp:79
::uintmax_t uintmax
defines a unsigned integer with the maximum possible size
Definition: cstdint.hpp:97