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, OSX, 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:
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
cygwin.bat
cd build
mingw.bat
cd build
vs.bat