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

Function object that advances an iterator a given number of times and returns the result of applying a higher-order function to the dereferenced value of that iterator. More...

Public Member Functions

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

Public Types

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

Private Member Functions

result_type advance () const
 

Detailed Description

template<typename Iterator, typename F>
struct stapl::detail::advance_apply_get< Iterator, F >

Function object that advances an iterator a given number of times and returns the result of applying a higher-order function to the dereferenced value of 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: