Public Types | Public Member Functions | List of all members
ustl::queue< T > Class Template Reference

Queue adapter to uSTL containers. More...

#include <ustl.h>

Public Types

typedef T value_type
typedef size_t size_type
typedef ptrdiff_t difference_type
typedef T & reference
typedef const T & const_reference
typedef T * pointer
typedef const T * const_pointer

Public Member Functions

 queue (const vector< T > &s)
 queue (const queue &s)
size_type size (void) const
bool empty (void) const
reference front (void)
const_reference front (void) const
reference back (void)
const_reference back (void) const
void push (const value_type &v)
 Pushes v on the queue.
void pop (void)
 Pops the topmost element from the queue.
bool operator== (const queue &s) const
bool operator< (const queue &s) const

Detailed Description

template<typename T>
class ustl::queue< T >

Queue adapter to uSTL containers.

The most efficient way to use this implementation is to fill the queue and the completely empty it before filling again.

The documentation for this class was generated from the following file:

Generated on Mon Sep 28 2015 17:58:50 for uSTL by Doxygen 1.8.10