acme
Foundational cross-platform layer of the ca2 framework
Loading...
Searching...
No Matches
deque.h
1#pragma once
2
3
4template < class TYPE,class ARG_TYPE = const TYPE &,class BASE_ARRAY = array < TYPE,ARG_TYPE > >
5class deque:
6 public BASE_ARRAY
7{
8public:
9
10 typedef TYPE BASE_TYPE;
11 typedef ARG_TYPE BASE_ARG_TYPE;
12
13 inline void add(ARG_TYPE t)
14 {
15 BASE_ARRAY::add(t);
16 }
17
18 inline void pop_back(index n = -1)
19 {
20 this->erase_at(this->get_upper_bound(n));
21 }
22
23
24};
Definition deque.h:7