Alinshans/MyTinySTL ? reverse-engineered prompt
Reverse engineered prompt
Build me a tiny STL style C++11 library that works like a lightweight version of the standard library. I want the core containers and common algorithms to be available, with a clean interface that feels familiar to anyone who has used STL before. Please make it build on Linux, Windows, and macOS, and keep the project easy to compile with CMake and Visual Studio too.
I’d also like a good set of tests so I can quickly check that the containers and functions behave correctly. If you find bugs or rough edges, please fix them and keep the code tidy and readable, since this is meant to be a learning friendly project. Use the existing Chinese notes and comments if they help, and if you need to confirm anything about current C++ or toolchain details, look up the latest docs online.
Are you gonna build this?
make sure you review the code using coderabbit