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-dev
Install gil (git links) tool
pip3 install gil
git clone https://github.com/chronoxor/CppCommon.git
cd CppCommon
gil update
cd build
./unix.sh
cd build
./unix.sh
cd build
unix.bat
cd build
unix.bat
cd build
mingw.bat
cd build
vs.bat