#ifndef TESTS_MUTANT_STACK_HPP # define TESTS_MUTANT_STACK_HPP #include template class MutantStack : public std::stack { public: typedef typename std::stack::container_type::iterator iterator; typedef typename std::stack::container_type::const_iterator const_iterator; iterator begin() {return this->c.begin();} iterator end() {return this->c.end();} const_iterator begin() const {return this->c.begin();} const_iterator end() const {return this->c.end();} }; #endif