tetl 0.1.0
Embedded Template Library
|
Go to the source code of this file.
Namespaces | |
namespace | etl |
Functions | |
template<typename ForwardIt, typename Predicate, typename T> | |
constexpr auto | replace_if (ForwardIt first, ForwardIt last, Predicate p, T const &newValue) -> void |
Replaces all elements satisfying specific criteria with new_value in the range [first, last). Replaces all elements for which predicate p returns true. | |