SSOString.opSlice

Return a slice at [i .. j] to either the internally stored large or small string.

Implementation is kept in sync with toString.

  1. inout(char)[] opSlice()
  2. inout(char)[] opSlice(size_t i, size_t j)
    struct SSOString
    pure nothrow @nogc inout return @safe
    inout(char)[]
    opSlice
    (
    size_t i
    ,
    size_t j
    )

Meta