Defines operations to read values from the underlying container.
More...
|
|
value_type | get_element (index_t const &index) const |
| Get the element index from the container. More...
|
|
future< value_type > | get_element_split (index_t const &index) const |
| Get the element index from the container. More...
|
|
template<class Functor > |
Functor::result_type | apply_get (index_t const &index, Functor f) |
| Applies the provided function to the value referenced for the given index and returns the result of the operation. More...
|
|
template<class Functor > |
Functor::result_type | apply_get (index_t const &index, Functor f) const |
| Applies the provided function to the value referenced for the given index and returns the result of the operation. More...
|
|
template<typename Derived>
class stapl::view_operations::read< Derived >
Defines operations to read values from the underlying container.
◆ get_element()
template<typename Derived>
Get the element index
from the container.
- Parameters
-
◆ get_element_split()
template<typename Derived>
Get the element index
from the container.
- Parameters
-
◆ apply_get() [1/2]
template<typename Derived>
template<class Functor >
Applies the provided function to the value referenced for the given index and returns the result of the operation.
- Parameters
-
index | of element to apply the function |
f | function to apply |
- Returns
- result of evaluate the function f on the value referenced for the index
◆ apply_get() [2/2]
template<typename Derived>
template<class Functor >
Applies the provided function to the value referenced for the given index and returns the result of the operation.
- Parameters
-
index | of element to apply the function |
f | function to apply |
- Returns
- result of evaluate the function f on the value referenced for the index
The documentation for this class was generated from the following file: