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

Synopsis

Declared in <llvm/ADT/STLExtras.h>

template<
    typename R,
    typename OutputIt,
    typename T>
OutputIt
replace_copy(
    R&& Range,
    OutputIt Out,
    T const& OldValue,
    T const& NewValue);

Created with MrDocs