The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
SmallString.opIndex
mir
small_string
SmallString
Returns an scope common string.
The method implement with
[]
operation.
inout
(
char
)[]
opIndex
()
struct
SmallString
(uint maxLength)
extern (
D
) @
safe
pure @
nogc
scope nothrow inout @
trusted
scope return
inout
(
char
)[]
opIndex
(
)
if
(
maxLength
)
inout
(
char
)
opIndex
(size_t index)
inout
(
char
)[]
opIndex
(size_t[2] range)
Meta
Source
See Implementation
mir
small_string
SmallString
aliases
opBinary
opDollar
opOpAssign
put
toString
constructors
this
functions
append
concat
empty
length
opAssign
opCmp
opEquals
opIndex
opSlice
toHash
trustedAssign
Returns an scope common string.
The method implement with [] operation.