kameloso IRC bot
Dlang.org
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
)
lu
container
CircularBuffer
functions
clear
dup
empty
front
opOpAssign
popFront
put
reset
resize
save
size
variables
buf
caughtUp
head
initialised
tail
Zeroes out the buffer's elements, getting rid of old contents.