lu
Dlang.org
CircularBuffer.resize
lu
container
CircularBuffer
Resizes the internal buffer to a specified size.
struct
CircularBuffer
(T, Flag!"dynamic" dynamic = No.dynamic, size_t originalSize = 16)
pure @
safe
nothrow
static if
(
dynamic
)
void
resize
(
const
size_t
size
)
if
(
originalSize
> 1
)
Parameters
size
size_t
New size.
lu
container
CircularBuffer
functions
clear
dup
empty
front
opOpAssign
popFront
put
reset
resize
save
size
variables
buf
caughtUp
head
initialised
tail
Resizes the internal buffer to a specified size.