aboutsummaryrefslogtreecommitdiff
path: root/include/Stack.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/Stack.hpp')
-rw-r--r--include/Stack.hpp29
1 files changed, 0 insertions, 29 deletions
diff --git a/include/Stack.hpp b/include/Stack.hpp
deleted file mode 100644
index 64bfc66..0000000
--- a/include/Stack.hpp
+++ /dev/null
@@ -1,29 +0,0 @@
-#ifndef STACK_HPP
-# define STACK_HPP
-
-# include "vector.hpp"
-
-namespace ft
-{
- template <class T, class Container = deque<T> >
- class stack : public vector
- {
- public:
- explicit stack (const container_type& ctnr = container_type());
- value_type& top()
- {
- return back();
- }
- void push (const value_type& val)
- {
- push_back(val);
- }
- void pop()
- {
- pop_back();
- }
- };
-}
-
-#endif
-