类模板
#pragma once
#include <iostream>
#include <cassert>
template <typename Type, int MAXSIZE>
class queue//FIFO context
{
//Elements are pushed into the "back_" of the specific container
//and popped from its "front_".
private:
Type* info;
int front_, back_;//Emements from (front_ + 1) to back_;
int count;
public:
queue(){
info = new Type[MAXSIZE];
front_ = 0; back_ = 0;
count = 0;
}
~queue()