mirror of
https://github.com/bolero-MURAKAMI/Sprout.git
synced 2025-07-16 15:14:13 +00:00
add tuples::apply
This commit is contained in:
parent
a1f6d6ffc3
commit
5ccbc4e903
16 changed files with 280 additions and 52 deletions
|
@ -149,6 +149,13 @@ namespace sprout {
|
|||
{
|
||||
return sprout::search(first1, last1, first2, last2, sprout::equal_to<>());
|
||||
}
|
||||
|
||||
//
|
||||
template<typename ForwardIterator, typename Searcher>
|
||||
inline SPROUT_CONSTEXPR ForwardIterator
|
||||
search(ForwardIterator first, ForwardIterator last, Searcher const& searcher) {
|
||||
return searcher(first, last);
|
||||
}
|
||||
} // namespace sprout
|
||||
|
||||
#endif // #ifndef SPROUT_ALGORITHM_SEARCH_HPP
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue