The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
CyclicBuffer.Range
containers
cyclicbuffer
CyclicBuffer
Undocumented in source.
struct
CyclicBuffer
(T, Allocator = Mallocator, bool supportGC = shouldAddGCRange!T)
static
struct
Range (
ThisT
) {
auto ref
opIndex
(size_t i);
This
opIndex
();
size_t
[
2
]
opSlice
(size_t i, size_t j);
This
opIndex
(size_t[2] indices);
auto ref
opUnary
();
auto ref
opAssign
(U value);
auto ref
opOpAssign
(U value);
}
Members
Functions
opAssign
auto ref
opAssign
(U value)
range
...
= value
opIndex
auto ref
opIndex
(size_t i)
range
i
opIndex
This
opIndex
()
range[]
opIndex
This
opIndex
(size_t[2] indices)
range[i .. j]
opOpAssign
auto ref
opOpAssign
(U value)
range
...
+= value
opSlice
size_t
[
2
]
opSlice
(size_t i, size_t j)
range[i .. j]
opUnary
auto ref
opUnary
()
range
...
++
Meta
Source
See Implementation
containers
cyclicbuffer
CyclicBuffer
aliases
insert
insertAnywhere
opDollar
popBack
popFront
put
constructors
this
functions
back
capacity
clear
empty
front
insertBack
insertFront
length
opIndex
opSlice
removeBack
removeFront
reserve
structs
Range