arithmetic_sequence_gen< IBegin, IEnd, Increment > Struct Template Reference#
ck::arithmetic_sequence_gen< IBegin, IEnd, Increment > Struct Template Reference
  #include <sequence.hpp>
Classes | |
| struct | F | 
Public Types | |
| using | type0 = typename sequence_gen<(IEnd - IBegin)/Increment, F >::type | 
| using | type1 = Sequence<> | 
| using | type = typename conditional< kHasContent, type0, type1 >::type | 
Static Public Attributes | |
| static constexpr bool | kHasContent | 
Member Typedef Documentation
◆ type
template<index_t IBegin, index_t IEnd, index_t Increment> 
      | using ck::arithmetic_sequence_gen< IBegin, IEnd, Increment >::type = typename conditional<kHasContent, type0, type1>::type | 
◆ type0
template<index_t IBegin, index_t IEnd, index_t Increment> 
      | using ck::arithmetic_sequence_gen< IBegin, IEnd, Increment >::type0 = typename sequence_gen<(IEnd - IBegin) / Increment, F>::type | 
◆ type1
template<index_t IBegin, index_t IEnd, index_t Increment> 
      | using ck::arithmetic_sequence_gen< IBegin, IEnd, Increment >::type1 = Sequence<> | 
Member Data Documentation
◆ kHasContent
template<index_t IBegin, index_t IEnd, index_t Increment> 
      
  | 
  staticconstexpr | 
Initial value:
=
        (Increment > 0 && IBegin < IEnd) || (Increment < 0 && IBegin > IEnd)
The documentation for this struct was generated from the following file:
- include/ck/utility/sequence.hpp