A collection of fast-ish C++ utility functions / small libs all in single header files with usually no "code implications".
Files | C++ standard required | Description |
---|---|---|
random_value.hpp | C++11 | A simple function for random values. |
is_char.hpp | C++11 | A type trait to find if a type is a character type. |
scope.hpp | C++17 | scope_exit class, etc. |
endian.hpp | C++20 | A small library to handle endianness. |
See this repo wiki. (I dislike putting all the documentation in one single file).
Because stb already exists for C. (and because it's not my language. And C++ is clearer.)
Well it almost is; when you included a file form here there is already the copyright notice in it so for open-source projects you don't need to do anything special. And for others it's not really complicated.