ocean.util.container.queue.LinkedListQueue

Members

Classes

LinkedListQueue
class LinkedListQueue(T, alias gc_tracking_policy = GCTrackingPolicy.refTypesOnly)

A typed-queue based on a linked list. (Internally, the queue is composed of instances of a struct which contains a value (of type T) and a pointer to next item.)

Functions

pop (from ocean.util.container.queue.model.ITypedQueue)
bool pop(ITypedQueue!(T) q, T t) via public import ocean.util.container.queue.model.ITypedQueue : push, pop;

A helper function to pop an item from ITypedQueue.

push (from ocean.util.container.queue.model.ITypedQueue)
bool push(ITypedQueue!(T) q, T t) via public import ocean.util.container.queue.model.ITypedQueue : push, pop;

A helper function to push an item into ITypedQueue.

Structs

GCTrackingPolicy
struct GCTrackingPolicy

A wrapper around common used policies for adding data allocated by the LinkedListQueue to the GC scan range.

Meta

License

Boost Software License Version 1.0. See LICENSE_BOOST.txt for details. Alternatively, this file may be distributed under the terms of the Tango 3-Clause BSD License (see LICENSE_BSD.txt for details).