Arene Base
Fundamental Utilities For Safety Critical C++
Loading...
Searching...
No Matches
std::integer_sequence_detail::fast_expand_sequence< T, DoDouble > Class Template Reference

helper for quickly expanding the elements in a sequence More...

Static Public Member Functions

template<T... Is, T... Js>
static constexpr auto finish_sequence (integer_sequence< T, Js... >) -> make_sequence_impl< T, 0, Is..., sizeof...(Is)+Js... >
 finishes the sequence since it can no longer be doubled
 

Public Attributes

template<size_t N, T... Is>
using type
 finish the current sequence
 

Detailed Description

template<class T, bool DoDouble>
class std::integer_sequence_detail::fast_expand_sequence< T, DoDouble >

helper for quickly expanding the elements in a sequence

specialization if the sequence cannot be doubled

Template Parameters
Tinteger type
DoDoubleif true, double the number of elements in the sequence

Helper type used to reduce the number of template instantiations for a large integer sequence.

Template Parameters
Tinteger type
DoDoublefalse for this primary template

Member Function Documentation

◆ finish_sequence()

template<class T, bool DoDouble>
template<T... Is, T... Js>
static constexpr auto std::integer_sequence_detail::fast_expand_sequence< T, DoDouble >::finish_sequence ( integer_sequence< T, Js... > ) -> make_sequence_impl< T, 0, Is..., sizeof...(Is)+Js... >
staticconstexpr

finishes the sequence since it can no longer be doubled

Template Parameters
Issequence head
Jssequence tail
Returns
helper type containing the completed sequence

Member Data Documentation

◆ type

template<class T, bool DoDouble>
template<size_t N, T... Is>
using std::integer_sequence_detail::fast_expand_sequence< T, DoDouble >::type

finish the current sequence

Template Parameters
Nremaining number of sequence elements to generate
Iscurrent sequence

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