lu ~master (2024-08-10T21:55:00Z)
Home
Dub
Repo
CircularBuffer.clear
lu
container
CircularBuffer
Zeroes out the buffer's elements, getting rid of old contents.
struct
CircularBuffer
(T, Flag!"dynamic" dynamic = No.dynamic, size_t originalSize = 16)
pure @
safe
@
nogc
nothrow
void
clear
(
)
if
(
originalSize
> 1
)
Meta
Source
See Implementation
lu
container
CircularBuffer
functions
clear
dup
empty
front
opOpAssign
popFront
put
reset
resize
save
size
Zeroes out the buffer's elements, getting rid of old contents.