BasicString.opCmp

Compares the contents of a string with another string, range, char/wchar/dchar or integer.

  1. int opCmp(CharType[] rhs)
  2. int opCmp(Rhs rhs)
    struct BasicString
    const scope
    int
    opCmp
    (
    Rhs
    )
    (
    scope auto ref Rhs rhs
    )
    if (
    isSomeChar!Rhs
    ||
    isSomeString!Rhs
    ||
    isCharArray!Rhs
    ||
    isIntegral!Rhs
    ||
    isInputCharRange!Rhs
    )

Meta