Skip to content

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

Notifications You must be signed in to change notification settings

czHappy/MiniSTL

Repository files navigation

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::
  • ...

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published