Fix formatting and spacing in MutantStack class declaration
This commit is contained in:
parent
7d6382d47b
commit
35286da232
@ -8,17 +8,17 @@ class MutantStack : public std::stack<T>
|
|||||||
MutantStack();
|
MutantStack();
|
||||||
MutantStack(const MutantStack &other);
|
MutantStack(const MutantStack &other);
|
||||||
MutantStack(MutantStack &&other) noexcept;
|
MutantStack(MutantStack &&other) noexcept;
|
||||||
MutantStack &operator=(const MutantStack &other);
|
MutantStack &operator=(const MutantStack &other);
|
||||||
MutantStack &&operator=(MutantStack &&other) noexcept;
|
MutantStack &&operator=(MutantStack &&other) noexcept;
|
||||||
~MutantStack() 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;
|
typedef typename std::stack<T>::container_type::const_iterator const_iterator;
|
||||||
|
|
||||||
iterator begin();
|
iterator begin();
|
||||||
iterator end();
|
iterator end();
|
||||||
const_iterator begin() const;
|
const_iterator begin() const;
|
||||||
const_iterator end() const;
|
const_iterator end() const;
|
||||||
};
|
};
|
||||||
|
|
||||||
#include "MutantStack.tpp"
|
#include "MutantStack.tpp"
|
||||||
|
|||||||
@ -1,6 +1,5 @@
|
|||||||
#include "MutantStack.hpp"
|
#include "MutantStack.hpp"
|
||||||
|
|
||||||
#include <iostream>
|
|
||||||
#include <print>
|
#include <print>
|
||||||
|
|
||||||
#define INFO "\n\033[1;32;4m"
|
#define INFO "\n\033[1;32;4m"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user