Defines an accessor to local element using an iterator to reference it.
More...
|
| pointer_accessor (Iterator iter) |
|
bool | is_local () const |
|
template<typename F > |
void | apply_set (F const &f) const |
| Applies the functor provided to the element reference by the iterator. More...
|
|
template<typename F > |
F::result_type | apply_get (F const &f) const |
| Applies the functor provided to the element reference by the iterator. More...
|
|
value_type | read (void) const |
|
void | write (U const &value) const |
|
void | invoke (void(Class::*const memberFuncPtr)(Args...), typename std::decay< Args >::type const &... args) const |
|
Rtn | invoke (Rtn(Class::*const memberFuncPtr)(Args...), typename std::decay< Args >::type const &... args) const |
|
Rtn | const_invoke (Rtn(Class::*const memberFuncPtr)(Args...) const, typename std::decay< Args >::type const &... args) const |
|
|
typedef std::iterator_traits< Iterator >::value_type | value_type |
|
template<typename Iterator>
class stapl::detail::pointer_accessor< Iterator >
Defines an accessor to local element using an iterator to reference it.
- Template Parameters
-
Iterator | Local iterator type. |
◆ apply_set()
template<typename Iterator >
template<typename F >
Applies the functor provided to the element reference by the iterator.
- Warning
- This method is only valid when the referenced element is local.
◆ apply_get()
template<typename Iterator >
template<typename F >
Applies the functor provided to the element reference by the iterator.
- Warning
- This method is only valid when the referenced element is local.
The documentation for this class was generated from the following file: