From 44eac9521632f8da42f73085db945bdba45f8311 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Sun, 14 Oct 2007 03:37:42 +0000 Subject: Added a temlatized Queue skeleton class, but I really didn't feel like writing it just now. The Queue class has some obvious advantages over list if you really only need Queue functionality, the main one being size, but also you can get a slight speed advantage. --- src/queue.cpp | 1 + src/queue.h | 16 ++++++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 src/queue.cpp create mode 100644 src/queue.h (limited to 'src') diff --git a/src/queue.cpp b/src/queue.cpp new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/src/queue.cpp @@ -0,0 +1 @@ + diff --git a/src/queue.h b/src/queue.h new file mode 100644 index 0000000..0e3ed1f --- /dev/null +++ b/src/queue.h @@ -0,0 +1,16 @@ +#ifndef BU_QUEUE_H +#define BU_QUEUE_H + +namespace Bu +{ + template > + class Queue + { + public: + + private: + + }; +} + +#endif -- cgit v1.2.3