ΒΆtemplate <typename R, typename UnaryPredicate>
auto partition(R&& Range, UnaryPredicate P)
    -> decltype(adl_begin(Range))

Description

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

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

Templates

R
UnaryPredicate

Parameters

R&& Range
UnaryPredicate P