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
- Host: GitHub
- URL: https://github.com/wandvvs/qutil
- Owner: wandvvs
- Created: 2025-01-13T17:55:44.000Z (5 months ago)
- Default Branch: master
- Last Pushed: 2025-02-10T20:10:00.000Z (4 months ago)
- Last Synced: 2025-02-10T21:22:52.106Z (4 months ago)
- Topics: constexpr, cpp, cpp20, cpp20-library, cpp23, cpp23-library, cxx, cxx20, cxx23, library, logger, metaprogramming, string, tuple
- Language: C++
- Homepage:
- Size: 76.2 KB
- Stars: 6
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
🛠️ qutil
Provides modern and useful containers and algorithms
## **📥 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 allocationCheck out [examples](https://github.com/wandvvs/qutil/tree/master/examples) of all the qutil features.