The OpenD Programming Language

partitionAt.partitionAt

template partitionAt(alias less = "a < b")
@trusted nothrow @nogc
static if(__traits(isSame, naryFun!less, less))
void
partitionAt
(
Iterator
size_t N
SliceKind kind
)
(
Slice!(Iterator, N, kind) slice
,
size_t nth
)

Parameters

slice Slice!(Iterator, N, kind)

n-dimensional slice

nth size_t

The index of the element that should be in sorted position after the function is finished.

Meta