Compiles on Linux & Mac (using Make) and Windows (using MinGW-make or the toolchain of your choice)
brisk
is a header-only library that I've written myself for myself.
This is not full featured and is just a pet project but it could be a valuable learning
tool for those who need illustration on how the STL actually works under the hood without
the mangled symbols, crazy template parameters.
The goal is to rewrite the STL using the latest standard in readable code.
First, refer to the Build section for your platform. So, now, you officially have set it up I'll assume.
All the libraries are split up into their respective headers. The libraries in brisk
are:
algorithm
, a WIP library including copy functions forarray
andvector
array
, a replacement forstd::array
functional
, a replacement for thefunctional
headerlogger
, a pretty good wrapper aroundstd::cin
andstd::cout
that will dump everything output to the console to a log file automagically for youmath
, containers for geometric shapesmemory
, smart pointer stuffstring
, a replacement forstd::string
utility
, a replacement for theutility
headervector
, a replacement forstd::vector
Including brisk.h
will, for namesakes, include all of these. However, just append .hpp
to the library name to just get the library you want.
- Compiler (with C++20 support)
- git
- make (only if compiling test program)
- Cygwin or MinGW (in PATH)
- Git
- Compiler (with C++20 support)
- Install the
git
package. - Clone repository using
git clone https://github.com/akachronix/brisk.git
- Run makefile to build examples or use headers in your own project.
- Install Git for Windows.
- Clone repository using
git clone https://github.com/akachronix/brisk.git
- Open MinGW environment to repository directory.
- Run makefile to build examples or use headers in your own project.
If you think you've found a bug, leave an issue. If you have some changes to suggest, make a pull request or put [REQUEST]
before an issue.