Files
42_INT_11_ft_containers/tests/includes/tests_mutant_stack.hpp
2022-06-24 02:23:53 +02:00

23 lines
520 B
C++

#ifndef TESTS_MUTANT_STACK_HPP
# define TESTS_MUTANT_STACK_HPP
#include <stack>
template <typename T>
class MutantStack : public std::stack<T> {
public:
typedef typename std::stack<T>::container_type::iterator iterator;
typedef typename std::stack<T>::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