You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
#include "ft_container.hpp"
|
|
|
|
|
|
|
|
int main(void) {
|
|
|
|
ft::vector<int> test1 = ft::vector<int>();
|
|
|
|
ft::vector<int> test2 = ft::vector<int>(10);
|
|
|
|
ft::vector<int> test3 = ft::vector<int>(10, 4);
|
|
|
|
ft::vector<int> test4 = ft::vector<int>(test3.begin(), test3.begin() + 4);
|
|
|
|
ft::vector<int> test5 = ft::vector<int>(test3);
|
|
|
|
|
|
|
|
debug_vector(test1);
|
|
|
|
debug_vector(test2);
|
|
|
|
debug_vector(test3);
|
|
|
|
debug_vector(test4);
|
|
|
|
debug_vector(test5);
|
|
|
|
|
|
|
|
}
|