/myMiniSTL

C++ STL practice referring to 《STL源码剖析》

Primary LanguageC++

MiniSTL based on SGI

Info

  • 《STL源码剖析》

Content

  • allocator
  • construct
  • Function
  • iterator
  • _type_traits
  • uninitialized
  • stl_vector
  • main: Test stl_vector.

Usage

  • Install gtest library.

  • Copy the project into C++ IDE

    • Run main.cpp.
  • Or use CMakeLists.txt

    cd build
    cmake ..
    make
    ./demo
    
  • Test OK in Mac M1. Big Sur 11.3.1.

Future Work

  • More containers
  • More Algorithms
  • Compared with std::
  • ...