#ifndef stack_h_ #define stack_h_ #include template class stack { public: stack(); stack( stack const& other ); bool empty() const; unsigned int size() const; T& top(); T const& top() const; void push( T const& value ); void pop(); private: std::vector values; }; #endif