diff options
Diffstat (limited to 'main.cpp')
-rw-r--r-- | main.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -6,6 +6,7 @@ int main() ft::vector<int> vec(10); ft::vector<int> other(vec); vec = other; + std::cout << (vec == other) << std::endl; other.assign(ft::vector<int>::size_type(5), 3); for (ft::vector<int>::size_type i = 0; i < other.size(); i++) std::cout << other.at(i) << std::endl; @@ -18,5 +19,6 @@ int main() other.pop_back(); for (ft::vector<int>::size_type i = 0; i < other.size(); i++) std::cout << other.at(i) << std::endl; + std::cout << (vec == other) << std::endl; return 0; } |