how do you implement a copy constructor for this pointer-based ADT
queue
#include "Queuep.h"
#include <cassert>
#include <new>
using namespace std;
Queue::Queue () : backPtr (0), frontPtr(0)
{
}
Queue::Queue(const Queue& Q) throw(OutOfStorageException)
{
//implement here
}//end copy constructor
Queue::~Queue()
{
while ( !isEmpty() )
{
dequeue();
}//end while
}//end destructor
assert( (backPtr == 0) && (frontPtr == 0) )