An open API service indexing awesome lists of open source software.

https://github.com/wandvvs/qutil

C++20 template utility library
https://github.com/wandvvs/qutil

constexpr cpp cpp20 cpp20-library cpp23 cpp23-library cxx cxx20 cxx23 library logger metaprogramming string tuple

Last synced: 3 months ago
JSON representation

C++20 template utility library

Awesome Lists containing this project

README

        

🛠️ qutil


Provides modern and useful containers and algorithms



GitHub opened issues
Status
Stars

## **📥 Installation**
```bash
git clone https://github.com/wandvvs/qutil.git
cd qutil
sudo ./install.sh
```
For an example of how to use qutil in a CMake project, see the following [CMakeLists.txt](https://github.com/wandvvs/qutil/blob/master/examples/tuple/CMakeLists.txt)

## **📦 Modules**

### 🧰 `qutil::containers`
- `tuple` - tumple implementation with additional support functions: `for_each`, `transform`, `find_if`, `all_of`, `none_of`, `any_of`.
- `constexpr_string` - compile-time string.
- `result` - result type for error handling like Rust `Result`.

### 📁 `qutil::io`
- `dump(Args...)` - pretty print function for a values and iterable types like a Python `print` to the stream `std::cout` by default.
- `dumpln(Args...)`
- `read(source)` - read from file to `std::string`.
- `logger` - minimal modular logger without heap allocation

Check out [examples](https://github.com/wandvvs/qutil/tree/master/examples) of all the qutil features.