移至檔案
Phuntsok Drak-pa 4a86188c69 attempt to fix building process #4 2018-11-02 14:07:27 +01:00
src some more work I guess, it' been a long time 2018-11-02 13:54:44 +01:00
.gitignore updated .gitignore 2017-10-16 11:04:53 +02:00
.gitlab-ci.yml attempt to fix building process #4 2018-11-02 14:07:27 +01:00
CMakeLists.txt initial comit 2017-10-10 02:30:17 +02:00
LICENCE.md added licence and readme 2017-10-10 03:01:52 +02:00
README.org Re-did the constructors for the vector class 2017-10-22 01:17:55 +02:00

README.org

https://cdn.rawgit.com/syl20bnr/spacemacs/442d025779da2f62fc86c2082703697714db6514/assets/spacemacs-badge.svg

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/test.cc, it is just me testing my STL and fooling around with it.

Installation

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.

Licence

See the LICENCE.md 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.

Bugs

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…