Function object that advances an iterator a given number of times and applies a higher-order function to the result of dereferencing that iterator.
More...
|
| advance_apply (F const &f, Iterator const &iter, diff_t diff) |
|
template<typename T > |
void | operator() (T const &) const |
|
|
typedef std::iterator_traits< Iterator >::difference_type | diff_t |
|
|
typedef Iterator | result_type |
|
|
result_type | advance () const |
|
template<typename Iterator, typename F>
struct stapl::detail::advance_apply< Iterator, F >
Function object that advances an iterator a given number of times and applies a higher-order function to the result of dereferencing that iterator.
- Template Parameters
-
Iterator | Iterator type |
F | Function to be applied over the dereferenced iterator |
The documentation for this struct was generated from the following file: