Snapshot.opIndex

Operator overload for indexing to retrieve a specific historical snapshot of the type.

class Snapshot(T)
final
T
opIndex
(
size_t index
)
if (
is(T == struct) ||
isScalarType!T
)

Parameters

index size_t

The index to retrieve the snapshot of.

Return Value

Type: T

The value at the index if found, T.init otherwise.

Meta