A range over a single element that can be used in a range-based for loop.
More...
|
| single_element_range (T &value) |
| Construct the range by copying the single element.
|
|
iterator | begin () |
| Iterator to the first (and only) value in the range.
|
|
iterator | end () |
| End iterator (one past the end) for the single value.
|
|
|
using | value_type = T |
|
using | iterator = value_type * |
|
template<typename T>
class stapl::single_element_range< T >
A range over a single element that can be used in a range-based for loop.
- Template Parameters
-
T | The type of the single value |
The documentation for this class was generated from the following file: