STAPL API Reference          
Overview   Containers   Algorithms   Views   Skeletons   Run-Time System
Modules     Classes    
List of all members | Public Member Functions | Public Types | Friends
stapl::ordering_detail::find_first< Promise, Order, BaseContainer > Class Template Reference

Functor used to find the first gid, returning in the given promise. More...

Public Member Functions

 find_first (Promise const &promise, Order const *order)
 
bool operator() (bc_base *base_ptr)
 

Public Types

typedef Promise promise_type
 
typedef BaseContainer base_container_type
 

Friends

class find_fw< Promise, Order, BaseContainer >
 

Detailed Description

template<typename Promise, typename Order, typename BaseContainer>
class stapl::ordering_detail::find_first< Promise, Order, BaseContainer >

Functor used to find the first gid, returning in the given promise.

This functor is used with the find_first visitor. It differs from find_fw in that it traverses backward until the first base container is found. find_fw is then used to traverse forward over empty base containers.


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