aboutsummaryrefslogtreecommitdiff
path: root/src/stable/queue.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/stable/queue.h42
1 files changed, 21 insertions, 21 deletions
diff --git a/src/stable/queue.h b/src/stable/queue.h
index a5f41e9..213d508 100644
--- a/src/stable/queue.h
+++ b/src/stable/queue.h
@@ -10,31 +10,31 @@
10 10
11namespace Bu 11namespace Bu
12{ 12{
13 /** 13 /**
14 * Queue abstract baseclass 14 * Queue abstract baseclass
15 */ 15 */
16 template<typename value> 16 template<typename value>
17 class Queue 17 class Queue
18 { 18 {
19 public: 19 public:
20 Queue() 20 Queue()
21 { 21 {
22 } 22 }
23 23
24 virtual ~Queue() 24 virtual ~Queue()
25 { 25 {
26 } 26 }
27 27
28 virtual void enqueue( const value &i )=0; 28 virtual void enqueue( const value &i )=0;
29 virtual value dequeue()=0; 29 virtual value dequeue()=0;
30 virtual value &peek()=0; 30 virtual value &peek()=0;
31 virtual const value &peek() const=0; 31 virtual const value &peek() const=0;
32 virtual bool isEmpty() const=0; 32 virtual bool isEmpty() const=0;
33 virtual int getSize() const=0; 33 virtual int getSize() const=0;
34 34
35 private: 35 private:
36 36
37 }; 37 };
38} 38}
39 39
40#endif 40#endif