1 #ifndef SUBORDINATION_BASE_CONTAINER_TRAITS_HH 2 #define SUBORDINATION_BASE_CONTAINER_TRAITS_HH 19 template <
class Container>
34 template <
class Container>
64 template <
class Container>
100 template <
class Container>
130 template <
class Container>
164 #endif // vim:filetype=cpp static const value_type & front(const container_type &cnt)
Returns the first element in the container.
Definition: container_traits.hh:114
static void pop(container_type &cnt)
Removes the first element in the container.
Definition: container_traits.hh:120
static void push(container_type &cnt, const value_type &rhs)
Push element to the container.
Definition: container_traits.hh:138
Container traits for queue-like containers.
Definition: container_traits.hh:65
Container container_type
Container type.
Definition: container_traits.hh:23
Container traits for vector-like containers.Method pop is not supported.
Definition: container_traits.hh:35
static const value_type & front(const container_type &cnt)
Returns the first element in the container.
Definition: container_traits.hh:84
static void push(container_type &cnt, const value_type &rhs)
Push element to the container.
Definition: container_traits.hh:72
Container traits for priority queue container.
Definition: container_traits.hh:101
Container trais.
Definition: container_traits.hh:20
static void push(container_type &cnt, const value_type &rhs)
Push element to the container.
Definition: container_traits.hh:108
static value_type & front(container_type &cnt)
Returns the first element in the container.
Definition: container_traits.hh:78
static const value_type & front(const container_type &cnt)
Returns the first element in the container.
Definition: container_traits.hh:150
Container::value_type value_type
Container value type.
Definition: container_traits.hh:25
static void pop(container_type &cnt)
Removes the first element in the container.
Definition: container_traits.hh:156
static const value_type & front(const container_type &cnt)
Returns the first element in the container.
Definition: container_traits.hh:54
static value_type & front(container_type &cnt)
Returns the first element in the container.
Definition: container_traits.hh:144
Container traits for deque container.
Definition: container_traits.hh:131
static void pop(container_type &cnt)
Removes the first element in the container.
Definition: container_traits.hh:90
static value_type & front(container_type &cnt)
Returns the first element in the container.
Definition: container_traits.hh:48
static void push(container_type &cnt, const value_type &rhs)
Push element to the container.
Definition: container_traits.hh:42