Utility library for my c++ projects
Go to file
2022-09-26 20:30:57 +02:00
docs renamed regex files 2022-09-26 20:28:12 +02:00
doxygen-awesome-css@a3c119b479 renamed regex files 2022-09-26 20:28:12 +02:00
src moved to gz namespace 2022-09-26 20:30:57 +02:00
.gitignore Moved math parts to own repo 2022-09-17 19:56:47 +02:00
.gitmodules renamed regex files 2022-09-26 20:28:12 +02:00
gen_enum_str.py unchanged 2022-09-17 19:57:52 +02:00
LICENSE Moved math parts to own repo 2022-09-17 19:56:47 +02:00
PKGBUILD Moved math parts to own repo 2022-09-17 19:56:47 +02:00
README.md Moved math parts to own repo 2022-09-17 19:56:47 +02:00

gz-cpp-util

cpp-20 utility library for my projects

Features

  • Extensive logger using variadic templates to log almost anything
  • Some containers like a thread safe queue and a ringbuffer
  • Regex that works with std::string_view
  • Type conversion utility (from string to int/float/uint/bool)

Installation

Arch Linux (ABS)

  • Download PKGBUILD: wget https://raw.github.com/MatthiasQuintern/gz-cpp-util/main/PKGBUILD
  • Build and install with the Arch Build System: makepkg -si

Linux

  • Make a clone of this repo: git clone https://github.com/MatthiasQuintern/gz-cpp-util
  • Build and install: cd src && make && make install

Usage

Library

  • Add -lgzutil to your linker flags
  • Include the wanted header: #include <gz-util/*dir*/*header.hpp*>

Enumeration-to-string script

  • The gen_enum_str.py script will be installed to /usr/bin/gz-enum-str.
  • Run gz-enum-str -h to list available options.

Documentation

The documentation for this library can be generated using doxygen. Install doxygen and run make docs, then open docs/html/index.html.

Changelog

2022-09-17

  • Moved math part to its own repository/library here

2022-09-10

  • Added matrices to math lib
  • Improved logger

2022-09-05

  • initial version