/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* MutantStack.hpp :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: aortigos +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2026/04/21 11:32:08 by aortigos #+# #+# */ /* Updated: 2026/04/21 11:32:08 by aortigos ### ########.fr */ /* */ /* ************************************************************************** */ template MutantStack::MutantStack() : std::stack() { // std::cout << "Span default constructor called" << std::endl; } template MutantStack::MutantStack(const MutantStack &other) { *this = other; } template MutantStack& MutantStack::operator=(const MutantStack &other) { if (this != &other) { std::stack::operator=(other); } return (*this); } template MutantStack::~MutantStack() { // std::cout << "MutantStack destructor called" << std::endl; } template typename MutantStack::iterator MutantStack::begin() { return (this->c.begin()); } template typename MutantStack::iterator MutantStack::end() { return (this->c.end()); } template typename MutantStack::const_iterator MutantStack::begin() const { return (this->c.begin()); } template typename MutantStack::const_iterator MutantStack::end() const { return (this->c.end()); }