Provide wrappers to std::replace which take ranges instead of having to pass begin/end explicitly.

Synopsis

Declared in <llvm/ADT/STLExtras.h>

template<
    typename R,
    typename T>
void
replace(
    R&& Range,
    T const& OldValue,
    T const& NewValue);

Created with MrDocs