Generates a sequence of consecutive values.
More...
|
| sequence (T start=0, T st=1) |
|
| sequence (sequence const &seq, std::size_t offset) |
| Creates a functor that is initialized to generate elements beginning at the offset position in the sequence. More...
|
|
T | operator() (void) |
|
|
using | state_type = std::true_type |
|
template<typename T>
class stapl::sequence< T >
Generates a sequence of consecutive values.
- Template Parameters
-
T | The value type of the elements generated. |
◆ sequence()
Creates a functor that is initialized to generate elements beginning at the offset position in the sequence.
- Parameters
-
seq | The sequence functor is passed in to allow offset-independent state to be copied. |
offset | The offset to be copied. |
The documentation for this class was generated from the following file: