The OpenD Programming Language

SmallString.opIndex

Returns an scope common string.

The method implement with [] operation.

  1. inout(char)[] opIndex()
    struct SmallString(uint maxLength)
    extern (D) @safe pure @nogc scope nothrow inout @trusted scope return
    inout(char)[]
    opIndex
    ()
    if (
    maxLength
    )
  2. inout(char) opIndex(size_t index)
  3. inout(char)[] opIndex(size_t[2] range)

Meta