Function object which returns the application of operator
[] on the input parameter, passing a data member as the index argument.
More...
|
| get_element_func (std::size_t idx) |
|
result_type | operator() (T const &t) const |
|
|
typedef T::value_type | result_type |
|
template<typename T>
struct stapl::composition::get_element_func< T >
Function object which returns the application of operator
[] on the input parameter, passing a data member as the index argument.
This functor is used by the map_view class to redirect requests for elements not on this location to the sibling structure on a remote location.
- Parameters
-
T | The type of the parameter to the function operator. |
The documentation for this struct was generated from the following file: