Return true if all arguments args are unstrictly ordered, * that is args[0] <= args[1] <= args[2] <= ... . * * TODO: CT-variant * See_Also: http://forum.dlang.org/thread/wzsdhzycwqyrvqmmttix@forum.dlang.org?page=2#post-vprvhifglfegnlvzqmjj:40forum.dlang.org
static assert(!__traits(compiles, areUnstrictlyOrdered())); static assert(!__traits(compiles, areUnstrictlyOrdered(1))); assert(areUnstrictlyOrdered(1, 2, 2, 3)); assert(!areUnstrictlyOrdered(1, 3, 2)); assert(areUnstrictlyOrdered('a', 'b', 'c'));
See Implementation
Return true if all arguments args are unstrictly ordered, * that is args[0] <= args[1] <= args[2] <= ... . * * TODO: CT-variant * See_Also: http://forum.dlang.org/thread/wzsdhzycwqyrvqmmttix@forum.dlang.org?page=2#post-vprvhifglfegnlvzqmjj:40forum.dlang.org