ΒΆtemplate <typename R,
          typename OutputIt,
          typename UnaryPredicate>
OutputIt copy_if(R&& Range,
                 OutputIt Out,
                 UnaryPredicate P)

Description

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

Declared at: llvm/include/llvm/ADT/STLExtras.h:1229

Templates

R
OutputIt
UnaryPredicate

Parameters

R&& Range
OutputIt Out
UnaryPredicate P