lu ~master (2023-08-17T18:07:16Z)
Home
Dub
Repo
CircularBuffer.front
lu
container
CircularBuffer
Returns the front element.
struct
CircularBuffer
(T, Flag!"dynamic" dynamic = No.dynamic, size_t originalSize = 16)
const
auto
front
(
)
if
(
originalSize
> 1
)
Return Value
Type:
auto
An item T.
Meta
Source
See Implementation
lu
container
CircularBuffer
functions
clear
dup
empty
front
opOpAssign
popFront
put
reset
resize
save
size
Returns the front element.