From be2676e56ae0c72321c60c4848ce720ccf095b26 Mon Sep 17 00:00:00 2001 From: Charles Date: Sat, 1 Feb 2020 14:17:04 +0100 Subject: Remaking List, Removed include/, test/ and Makefile --- include/Stack.hpp | 29 ----------------------------- 1 file changed, 29 deletions(-) delete mode 100644 include/Stack.hpp (limited to 'include/Stack.hpp') 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 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 - -- cgit