LinkedListQueue.opApply

Walk through the linked list

class LinkedListQueue(T, alias gc_tracking_policy = GCTrackingPolicy.refTypesOnly)
int
opApply
(
scope int delegate
(
ref T value
)
dg
)

Parameters

dg int delegate
(
ref T value
)

delegate to be called for each value in the list

Return Value

Type: int

the return value of the last call to the delegate, or zero if no call happened (no elements to walk over)

Meta