diff options
author | kdx <kdx.42@42l.fr> | 2023-01-11 03:28:42 +0100 |
---|---|---|
committer | kdx <kdx.42@42l.fr> | 2023-01-11 03:28:42 +0100 |
commit | a0466bb648c096ed277ab2d662b2ef5c42f788bf (patch) | |
tree | a671cb326c43203dacaaddc199c2ca01067d68b5 | |
parent | 15f24ce4fcf9a8038a3035574d241760644a4ea7 (diff) | |
download | 42-containers-a0466bb648c096ed277ab2d662b2ef5c42f788bf.tar.gz |
can't focus on this shit
-rw-r--r-- | vector.hpp | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -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; + } +} |