From a0466bb648c096ed277ab2d662b2ef5c42f788bf Mon Sep 17 00:00:00 2001 From: kdx Date: Wed, 11 Jan 2023 03:28:42 +0100 Subject: can't focus on this shit --- vector.hpp | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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 bool operator>=(const vector& lhs, const vector& rhs); -} + template + vector::vector() + { + _size = 0; + _capacity = 0; + _data = NULL; + } +} -- cgit v1.2.3