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