tetl 0.1.0
Embedded Template Library
|
Go to the source code of this file.
Namespaces | |
namespace | etl |
Functions | |
template<typename ForwardIt> | |
constexpr auto | adjacent_find (ForwardIt first, ForwardIt last) -> ForwardIt |
Searches the range [first, last) for two consecutive equal elements. Elements are compared using the given binary predicate p. | |
template<typename ForwardIt, typename Predicate> | |
constexpr auto | adjacent_find (ForwardIt first, ForwardIt last, Predicate pred) -> ForwardIt |
Searches the range [first, last) for two consecutive equal elements. Elements are compared using the given binary predicate p. | |