#include"frontBackList.hpp" #include"QueueList.hpp" QueueList::QueueList() { storage=new frontBackList(); } QueueList::~QueueList() { delete storage; } bool QueueList::isEmpty() { return storage->isEmpty(); } bool QueueList::enqueue(int item){ return storage->insertAtBack(item); } bool QueueList::dequeue(int &item){ return storage->removeFromFront(item); }