基于 C++11
的 tinySTL
,这是我的第一个项目,使用了中文文档与中文注释,有不规范或不当的地方还请海涵。刚开始是作为新手练习用途,直到现在已经发布了 2.x.x
版本。实现了大部分 STL 中的容器与函数,但仍存在许多不足与 bug 。从 2.x.x
版本开始,本项目会进入长期维护的阶段,即基本不会增加新的内容,只修复发现的 bug。如发现错误,还请在 Issues
中指出,欢迎 Fork
和 Pull requests
改善代码,谢谢!
如果你想要运行测试,请先阅读 这个 。
$ git clone git@github.com: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 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.x.x
, the project will enter the stage of long-term maintenance, i.e., 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 git@github.com: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.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。