RingBuffer.this - multiple declarations
Function RingBuffer.this
Acquires backing storage for capacity elements.
this(
size_t capacity
);
Capacity zero is valid and produces the same observable inert state as .init.
Function RingBuffer.this
Unique owning storage is never copied implicitly.
@disable this(
scope ref return typeof(this) rhs
);
Function RingBuffer.this
Transfers backing-storage ownership in O(1).
this(
scope return typeof(this) rhs
);
Element addresses do not change and no T copy/move constructor runs. The source becomes the inert .init-equivalent state.