摘要:
先贴下,再回改#include "pub.h"template > class CONT = std::deque>class Stack{private: CONT elems;public: void push(T const &); void pop(); T top() const; bool empty() const { return elems.empty(); } template > class CONT2> Stack & operator = (Stack const &);};template c... 阅读全文