Function FlatMap.opCmp
Compares the contents of a vector with another vector or range.
int opCmp(R)
(
scope R rhs
) const nothrow scope
if (isBtlInputRange!R);
int opCmp(V)
(
auto scope const ref V rhs
) const nothrow scope
if (isVector!V);
int opCmp(FM)
(
auto scope const ref FM rhs
) const nothrow scope
if (isFlatMap!FM);
Examples
auto a1 = Vector!(int, 6) .build(1, 2, 3);
auto a2 = Vector!(int, 6) .build(1, 2, 3, 4);
auto b = Vector!(int, 6) .build(3, 2, 1);
assert(a1 < b);
assert(a1 < a2);
assert(a2 < b);
assert(a1 <= a1);