A helper function to pop an item from ITypedQueue.
A helper function to push an item into ITypedQueue.
Test the methods defined in the ITypedQueue interface
An interface for a FIFO queue with items of a specific type.
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).
Copyright (c) 2009-2016 dunnhumby Germany GmbH. All rights reserved.
An interface for a FIFO queue with items of a specific type.
This interface is deliberately designed to be as minimal as possible, only covering the core functionality shared by the wide variety of possible queue implementations. For example, even a basic pop function which returns an item is not generic -- certain implementations may need to relinquish the item after popping it, making a simple pop-then-return implementation impossible. For this reason, some additional helper functions are provided, which may be useful with some queue implementations.