You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Phuntsok Drak-pa 4a86188c69 attempt to fix building process #4 4 years ago
src some more work I guess, it' been a long time 4 years ago
.gitignore updated .gitignore 5 years ago
.gitlab-ci.yml attempt to fix building process #4 4 years ago
CMakeLists.txt initial comit 5 years ago added licence and readme 5 years ago Re-did the constructors for the vector class 5 years ago

P’undrak’s STL

This is my very own partial, sketchy, weird and ineffective STL implementation, mainly focused on the containers of the actual Standard Template Library. You have absolutely no other reason to look at this source code than being a student like myself seeking for hints on how to do things. Spoiler: what you will see here is probably not the right way to do it, but hey, it works!… sometimes. I also try to stay as close as possible to the C++17 standard. I might not always follow it though.

Developped under Spacemacs, compiled with Clang++, debugged with GDB, drinking milk. Yeah, I don’t like coffee. Milk though…

Also, don’t pay any attention to src/, it is just me testing my STL and fooling around with it.


Haha, good joke!

Seriously, if you want to use it, just download the header files, place them in your include directory in your project, and add them with #include "vector.hh" or something like that. But honestly, use it only for testing purposes, or looking at how I did things, but not for actual work. That would be a terrible idea.


See the file, basically you are free to do whatever you want with my source code, from copying, to modifying and redistributing it, as long as it stays under the GNU GPLv3 licence.


Yep, there are bugs. I may or may not fix them, it’s up to me.

Also, Github doesn’t seem to fully recognize org-mode’s syntax. Well…