ΒΆtemplate <typename R, typename UnaryFunction>
UnaryFunction for_each(R&& Range, UnaryFunction F)

Description

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

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

Templates

R
UnaryFunction

Parameters

R&& Range
UnaryFunction F