I have the default constructor but the copy constructor I am having trouble with. Any help.
enum Direction { front_to_back, back_to_front };
template <typename EType>
class Queue
{
private:
struct Node
{
EType Item;
unsigned Priority;
unsigned Identifier;
Node * Pred;
Node * Succ;
};
Node * Head; // Pointer to head of chain (front)
Node * Tail; // Pointer to tail of chain (back)
public:
// Initialize pqueue to empty
//
Queue();
// De-initialize pqueue
//
~Queue();
// Re-initialize pqueue to empty
//
void reset();
// Initialize pqueue using existing pqueue