The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
SmallString.opSlice
mir
small_string
SmallString
Returns a common scope string.
The method implement with
[i .. j]
operation.
struct
SmallString
(uint maxLength)
extern (
D
) @
safe
pure @
nogc
scope nothrow scope const
size_t
[2]
opSlice
(
size_t
pos
: 0
)
(
size_t
i
,
size_t
j
)
if
(
maxLength
)
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 a common scope string.
The method implement with [i .. j] operation.