C++ Common Library contains reusable components and patterns for error and exceptions handling, filesystem manipulations, math, string format and encoding, shared memory, threading, time management and others.
- Cross platform (Linux, MacOS, Windows)
- Exception handling model
- Filesystem manipulations
- String encoding converters
- String format using {fmt} library
- CPU, memory, environment
- Shared memory
- Stack trace
- UUID generator
- Thread extensions (priority, affinity, yield)
- Thread barrier, latch
- Synchronization primitives
- Named synchronization primitives
- Producer/consumer queues
- Time management
- Utilities
Optional:
sudo apt-get install -y binutils-dev uuid-devInstall gil (git links) tool
pip3 install gilgit clone https://github.com/chronoxor/CppCommon.git
cd CppCommon
gil updatecd build
./unix.shcd build
./unix.shcd build
unix.batcd build
unix.batcd build
mingw.batcd build
vs.bat