基於C++11
的tinySTL
,這是我的第一個項目,使用了中文文檔與中文註釋,有不規範或不當的地方還請海涵。剛開始是作為新手練習用途,直到現在已經發布了2.xx
版本。實作了大部分STL 中的容器與函數,但仍有許多不足與bug 。從2.xx
版本開始,本專案會進入長期維護的階段,也就是基本上不會增加新的內容,只修復發現的bug。如發現錯誤,也請在Issues
中指出,歡迎Fork
和Pull requests
改善程式碼,謝謝!
如果你想要執行測試,請先閱讀這個。
$ git clone [email protected]:Alinshans/MyTinySTL.git
$ cd MyTinySTL
$ mkdir build && cd build
$ cmake ..
$ make
$ cd ../bin && ./stltest
vs2015
(或vs2017
)開啟MSVC/MyTinySTL_VS2015.sln
,配置成Release
模式,(Ctrl + F5)開始執行。 見Wiki。
見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 tore will be an English version later, but now I have no time to now I thatet. 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, will, I babtenance, will, I bably 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.