StaticRingBuffer.this - multiple declarations

Function StaticRingBuffer.this

Element-wise copy construction.

this(
  scope ref return typeof(this) rhs
);

The destination is laid out contiguously from physical slot zero even when the source is wrapped. The source remains unchanged.

If copying an element fails, already-constructed destination elements are destroyed before the exception leaves the constructor.

Function StaticRingBuffer.this

Element-wise whole-buffer move construction.

this(
  scope return typeof(this) rhs
);

Types with a D language move constructor are constructed directly at the final destination slot through placement new and __rvalue, preserving the element's move-constructor invariants.

Other types retain the classic moveEmplace relocation path so that opPostMove remains effective for self-referential relocatable types.