Generates a sequence of std::pair<K, V> elements.
More...
|
| associative_sequence (KeyGenerator &kg, ValueGenerator &vg) |
|
| associative_sequence (associative_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...
|
|
result_type | operator() (void) |
|
|
using | state_type = std::true_type |
|
template<typename KeyGenerator, typename ValueGenerator, typename Key, typename Value>
class stapl::associative_sequence< KeyGenerator, ValueGenerator, Key, Value >
Generates a sequence of std::pair<K, V> elements.
- Template Parameters
-
KeyGenerator | Key's generator type. |
ValueGenerator | Value's generator type. |
Key | Key's value type. |
Value | Value's value type. |
◆ associative_sequence()
template<typename KeyGenerator , typename ValueGenerator , typename Key , typename Value >
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: