tinySTL
based on C++11
, this is my first project, using Chinese documents and Chinese comments, please forgive me if there are any irregularities or inappropriate places. It was initially used as an exercise for novices, and now version 2.xx
has been released. Most containers and functions in STL have been implemented, but there are still many shortcomings and bugs. Starting from version 2.xx
, this project will enter the long-term maintenance stage, that is, basically no new content will be added, and only discovered bugs will be fixed. If you find errors, please point them out in Issues
. Fork
and Pull requests
are welcome to improve the code, thank you!
If you want to run tests, read this first.
$ git clone [email protected]:Alinshans/MyTinySTL.git
$ cd MyTinySTL
$ mkdir build && cd build
$ cmake ..
$ make
$ cd ../bin && ./stltest
vs2015
(or vs2017
) to open MSVC/MyTinySTL_VS2015.sln
, configure it to Release
mode, and (Ctrl + F5) start execution. See Wiki.
See Test.
This is a tinySTL
based on C++11
, which is my first project for practice. I use the Chinese documents and annotations for convenience, maybe there will be an English version later, but now I have no time to do that yet. Now I have released version 2.0.0
. I have achieved the vast majority of the containers and functions of STL
, and there may be some deficiencies and bugs. From the version 2.xx
, the project will enter the stage of long-term maintenance, ie, I probably will not add new content but only fix bugs found. If you find any bugs, please point out that in Issues
, or make a Pull requests
to improve it, thanks!
If you want to run the test, please read this first.
$ git clone [email protected]:Alinshans/MyTinySTL.git
$ cd MyTinySTL
$ mkdir build && cd build
$ cmake ..
$ make
$ cd ../bin && ./stltest
vs2015
(or vs2017
) open the file MSVC/MyTinySTL_VS2015.sln
, configured in Release
, run this project(Ctrl + F5). See Wiki.
See Test.