basic_string.opCmp

Performs lexicographical comparison.

  1. int opCmp(basic_string rhs)
  2. int opCmp(T[] rhs)
    struct basic_string(T, Traits = char_traits!T, Alloc = allocator!T)
    extern (D) @nogc const pure nothrow @safe
    int
    opCmp
    (
    scope const T[] rhs
    )

Meta