summaryrefslogtreecommitdiff
path: root/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/main.cpp b/main.cpp
index 7909b6b..bd8c700 100644
--- a/main.cpp
+++ b/main.cpp
@@ -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;
}