lu ~master (2024-08-10T21:55:00Z)
Home
Dub
Repo
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.
Meta
Source
See Implementation
lu
container
CircularBuffer
functions
clear
dup
empty
front
opOpAssign
popFront
put
reset
resize
save
size
Resizes the internal buffer to a specified size.