![]() |
Home | Libraries | People | FAQ | More |
Returns the result type of find, given the sequence and search types.
template< typename Sequence, typename T > struct find { typedef unspecified type; };
Parameter | Requirement | Description |
---|---|---|
Sequence | Model of Forward Sequence | Operation's argument |
T | Any type | Operation's argument |
result_of::find<Sequence, T>::type
Return type: A model of the same iterator category as the iterators of Sequence.
Semantics: Returns an iterator to the first element of type T in Sequence, or result_of::end<Sequence>::type if there is no such element.
Linear, at most result_of::size<Sequence>::value comparisons.
#include <boost/fusion/algorithm/query/find.hpp>
Copyright © 2001-2005 Joel de Guzman, Dan Marsden |