blob: 321042ed77bb2214d8e53d962875a0a511546d6e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#ifndef __QUEUE_H
#define __QUEUE_H
#include "my_list.h"
template<class T>
class CQueue : public CList<T>
{
public:
bool empty() { return (CList<T>::front == NULL); }
void push(const T& t) { push_back(t); }
};
#endif
|