find_match |
Functions | |
template<class InputIterator , class T , class Compare > | |
InputIterator | find_match (InputIterator first, InputIterator last, const T &value, Compare comp) |
template<class InputRange , class T , class Compare > | |
boost::range_const_iterator < InputRange >::type | find_match (const InputRange &range, const T &value) |
template<class InputRange , class T , class Compare > | |
boost::range_iterator < InputRange >::type | find_match (InputRange &range, const T &value) |
template<class InputIterator , class T , class Compare > | |
InputIterator | find_match (InputIterator first, InputIterator last, const T &value) |
template<class InputRange , class T , class Compare > | |
boost::range_const_iterator < InputRange >::type | find_match (const InputRange &range, const T &value, Compare comp) |
template<class InputRange , class T , class Compare > | |
boost::range_iterator < InputRange >::type | find_match (InputRange &range, const T &value, Compare comp) |
Detailed Description
Returns the first iterator i
in the range [first, last)
such that comp(value, i)
return true. Returns last if no such iterator exists.
- Complexity Guarantees:
- Linear: at most
last - first
applications ofcomp
.
Function Documentation
InputIterator adobe::find_match | ( | InputIterator | first, |
InputIterator | last, | ||
const T & | value, | ||
Compare | comp | ||
) |
find_match implementation
Definition at line 43 of file find_match.hpp.
boost::range_const_iterator<InputRange>::type adobe::find_match | ( | const InputRange & | range, |
const T & | value | ||
) |
find_match implementation
Definition at line 102 of file find_match.hpp.
boost::range_iterator<InputRange>::type adobe::find_match | ( | InputRange & | range, |
const T & | value | ||
) |
find_match implementation
Definition at line 90 of file find_match.hpp.
InputIterator adobe::find_match | ( | InputIterator | first, |
InputIterator | last, | ||
const T & | value | ||
) |
find_match implementation
Definition at line 78 of file find_match.hpp.
boost::range_const_iterator<InputRange>::type adobe::find_match | ( | const InputRange & | range, |
const T & | value, | ||
Compare | comp | ||
) |
find_match implementation
Definition at line 67 of file find_match.hpp.
boost::range_iterator<InputRange>::type adobe::find_match | ( | InputRange & | range, |
const T & | value, | ||
Compare | comp | ||
) |
find_match implementation
Definition at line 55 of file find_match.hpp.