Fix formatting and spacing in MutantStack class declaration

This commit is contained in:
whaffman 2025-08-20 21:59:32 +02:00
parent 7d6382d47b
commit 35286da232
2 changed files with 6 additions and 7 deletions

View File

@ -8,17 +8,17 @@ class MutantStack : public std::stack<T>
MutantStack();
MutantStack(const MutantStack &other);
MutantStack(MutantStack &&other) noexcept;
MutantStack &operator=(const MutantStack &other);
MutantStack &operator=(const MutantStack &other);
MutantStack &&operator=(MutantStack &&other) noexcept;
~MutantStack() noexcept;
typedef typename std::stack<T>::container_type::iterator iterator;
typedef typename std::stack<T>::container_type::iterator iterator;
typedef typename std::stack<T>::container_type::const_iterator const_iterator;
iterator begin();
iterator end();
iterator begin();
iterator end();
const_iterator begin() const;
const_iterator end() const;
};
#include "MutantStack.tpp"
#include "MutantStack.tpp"

View File

@ -1,6 +1,5 @@
#include "MutantStack.hpp"
#include <iostream>
#include <print>
#define INFO "\n\033[1;32;4m"