basic_string.opCmp

Performs lexicographical comparison.

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

Meta