STAPL API Reference          
Overview   Containers   Algorithms   Views   Skeletons   Run-Time System
Modules     Classes    
List of all members | Public Member Functions | Public Types | Private Types | Private Member Functions
stapl::detail::advance_apply< Iterator, F > Struct Template Reference

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...

Public Member Functions

 advance_apply (F const &f, Iterator const &iter, diff_t diff)
 
template<typename T >
void operator() (T const &) const
 

Public Types

typedef std::iterator_traits< Iterator >::difference_type diff_t
 

Private Types

typedef Iterator result_type
 

Private Member Functions

result_type advance () const
 

Detailed Description

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
IteratorIterator type
FFunction to be applied over the dereferenced iterator

The documentation for this struct was generated from the following file: