...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
boost::algorithm::find — Generic find algorithm.
template<typename CollectionT, typename FinderT> iterator_range< typename result_iterator_of< CollectionT >::type > find(CollectionT & Input, FinderT Finder);
Search the input using the given finder.
Parameters
Finder object used for searching.
A string which will be searched.
Returns: An iterator_range delimiting the match. Returned iterator is either CollectionT::iterator or CollectionT::const_iterator , depending on the constness of the input parameter.
Copyright © 2002-2004 Pavol Droba |