summaryrefslogtreecommitdiff
path: root/vector.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'vector.hpp')
-rw-r--r--vector.hpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/vector.hpp b/vector.hpp
index 89c9bc2..a0f8adc 100644
--- a/vector.hpp
+++ b/vector.hpp
@@ -111,5 +111,12 @@ namespace ft {
template<class T, class Alloc>
bool operator>=(const vector<T,Alloc>& lhs,
const vector<T,Alloc>& rhs);
-}
+ template<class T, class Alloc>
+ vector<T,Alloc>::vector()
+ {
+ _size = 0;
+ _capacity = 0;
+ _data = NULL;
+ }
+}