...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Returns the result type of find, given the sequence and search types.
template< typename Sequence, typename T > struct find { typedef unspecified type; };
Table 1.49. Parameters
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> #include <boost/fusion/include/find.hpp>