vibe.d beta banner
get vibe.d
0.7.30

Struct FixedRingBuffer

Template arguments

struct FixedRingBuffer(T, ulong N, bool INITIALIZE);

Fields

Name Type Description
m_fill size_t
m_start size_t

Properties

Name Type Description
back [get] inout(T)
capacity [get] size_t
empty [get] bool
freeSpace [get] size_t
front [get] inout(T)
full [get] bool
length [get] size_t

Methods

Name Description
clear
mod
opApply
opApply iterate through elements with index
opDollar
opIndex
opSlice
opSlice
peek
peekDst
popBack
popBackN
popFront
popFrontN
put
put
putN
read
removeAt

Inner structs

Name Description
Range

TODO

clear ring buffer fields upon removal (to run struct destructors, if T is a struct)

block ddox.authorsblock ddox.copyrightblock ddox.license
Authors
Copyright
License