├── .gitignore ├── .gitmessage.txt ├── .vscode ├── c_cpp_properties.json ├── launch.json ├── settings.json └── tasks.json ├── Makefile ├── README.md ├── asset ├── RBtree_explain.png ├── child_alloc.png ├── iterator.png ├── iterator_traits.png ├── map.png ├── parent_alloc.png ├── rb-tree.pdf ├── rbt_class.png ├── set.png └── vector.png ├── include ├── __tree.hpp ├── algorithm.hpp ├── iterator.hpp ├── map.hpp ├── set.hpp ├── stack.hpp ├── test.hpp ├── type_traits.hpp ├── utility.hpp └── vector.hpp ├── src ├── __tree.cpp └── main.cpp └── tests ├── alloc_test.cpp ├── functor_test.cpp ├── iterator_test.cpp ├── map_test.cpp ├── pair_test.cpp ├── raii_test.cpp ├── set_test.cpp ├── stack_test.cpp ├── testtest.cpp ├── throw_test.cpp ├── tree_test.cpp ├── type_traits.cpp └── vector_test.cpp /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yongjulejule/ft_containers/HEAD/.gitignore -------------------------------------------------------------------------------- /.gitmessage.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yongjulejule/ft_containers/HEAD/.gitmessage.txt -------------------------------------------------------------------------------- /.vscode/c_cpp_properties.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yongjulejule/ft_containers/HEAD/.vscode/c_cpp_properties.json -------------------------------------------------------------------------------- /.vscode/launch.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yongjulejule/ft_containers/HEAD/.vscode/launch.json -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yongjulejule/ft_containers/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /.vscode/tasks.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yongjulejule/ft_containers/HEAD/.vscode/tasks.json -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yongjulejule/ft_containers/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yongjulejule/ft_containers/HEAD/README.md -------------------------------------------------------------------------------- /asset/RBtree_explain.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yongjulejule/ft_containers/HEAD/asset/RBtree_explain.png -------------------------------------------------------------------------------- /asset/child_alloc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yongjulejule/ft_containers/HEAD/asset/child_alloc.png -------------------------------------------------------------------------------- /asset/iterator.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yongjulejule/ft_containers/HEAD/asset/iterator.png -------------------------------------------------------------------------------- /asset/iterator_traits.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yongjulejule/ft_containers/HEAD/asset/iterator_traits.png -------------------------------------------------------------------------------- /asset/map.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yongjulejule/ft_containers/HEAD/asset/map.png -------------------------------------------------------------------------------- /asset/parent_alloc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yongjulejule/ft_containers/HEAD/asset/parent_alloc.png -------------------------------------------------------------------------------- /asset/rb-tree.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yongjulejule/ft_containers/HEAD/asset/rb-tree.pdf -------------------------------------------------------------------------------- /asset/rbt_class.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yongjulejule/ft_containers/HEAD/asset/rbt_class.png -------------------------------------------------------------------------------- /asset/set.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yongjulejule/ft_containers/HEAD/asset/set.png -------------------------------------------------------------------------------- /asset/vector.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yongjulejule/ft_containers/HEAD/asset/vector.png -------------------------------------------------------------------------------- /include/__tree.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yongjulejule/ft_containers/HEAD/include/__tree.hpp -------------------------------------------------------------------------------- /include/algorithm.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yongjulejule/ft_containers/HEAD/include/algorithm.hpp -------------------------------------------------------------------------------- /include/iterator.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yongjulejule/ft_containers/HEAD/include/iterator.hpp -------------------------------------------------------------------------------- /include/map.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yongjulejule/ft_containers/HEAD/include/map.hpp -------------------------------------------------------------------------------- /include/set.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yongjulejule/ft_containers/HEAD/include/set.hpp -------------------------------------------------------------------------------- /include/stack.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yongjulejule/ft_containers/HEAD/include/stack.hpp -------------------------------------------------------------------------------- /include/test.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yongjulejule/ft_containers/HEAD/include/test.hpp -------------------------------------------------------------------------------- /include/type_traits.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yongjulejule/ft_containers/HEAD/include/type_traits.hpp -------------------------------------------------------------------------------- /include/utility.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yongjulejule/ft_containers/HEAD/include/utility.hpp -------------------------------------------------------------------------------- /include/vector.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yongjulejule/ft_containers/HEAD/include/vector.hpp -------------------------------------------------------------------------------- /src/__tree.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yongjulejule/ft_containers/HEAD/src/__tree.cpp -------------------------------------------------------------------------------- /src/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yongjulejule/ft_containers/HEAD/src/main.cpp -------------------------------------------------------------------------------- /tests/alloc_test.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yongjulejule/ft_containers/HEAD/tests/alloc_test.cpp -------------------------------------------------------------------------------- /tests/functor_test.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yongjulejule/ft_containers/HEAD/tests/functor_test.cpp -------------------------------------------------------------------------------- /tests/iterator_test.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yongjulejule/ft_containers/HEAD/tests/iterator_test.cpp -------------------------------------------------------------------------------- /tests/map_test.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yongjulejule/ft_containers/HEAD/tests/map_test.cpp -------------------------------------------------------------------------------- /tests/pair_test.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yongjulejule/ft_containers/HEAD/tests/pair_test.cpp -------------------------------------------------------------------------------- /tests/raii_test.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yongjulejule/ft_containers/HEAD/tests/raii_test.cpp -------------------------------------------------------------------------------- /tests/set_test.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yongjulejule/ft_containers/HEAD/tests/set_test.cpp -------------------------------------------------------------------------------- /tests/stack_test.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yongjulejule/ft_containers/HEAD/tests/stack_test.cpp -------------------------------------------------------------------------------- /tests/testtest.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yongjulejule/ft_containers/HEAD/tests/testtest.cpp -------------------------------------------------------------------------------- /tests/throw_test.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yongjulejule/ft_containers/HEAD/tests/throw_test.cpp -------------------------------------------------------------------------------- /tests/tree_test.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yongjulejule/ft_containers/HEAD/tests/tree_test.cpp -------------------------------------------------------------------------------- /tests/type_traits.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yongjulejule/ft_containers/HEAD/tests/type_traits.cpp -------------------------------------------------------------------------------- /tests/vector_test.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yongjulejule/ft_containers/HEAD/tests/vector_test.cpp --------------------------------------------------------------------------------