Qutil
C++20 template utility library
Install / Use
/learn @wandvvs/QutilREADME
<h1 align="center">🛠️ qutil</h1>
<h3 align="center">Provides modern and useful containers and algorithms</h3>
<p align="center">
<a href="https://github.com/wandvvs/qutil/issues">
<img src="https://img.shields.io/github/issues/wandvvs/qutil"
alt="GitHub opened issues">
<img src="https://img.shields.io/badge/status-in_development-red"
alt="Status">
<img src="https://img.shields.io/github/stars/wandvvs/qutil?color=lime"
alt="Stars">
</p>
🧰
📁
📥 Installation
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
📦 Modules
🧰 qutil::containers
tuple<Args...>- tumple implementation with additional support functions:for_each,transform,find_if,all_of,none_of,any_of.constexpr_string<N>- compile-time string.result<T,E>- result type for error handling like RustResult<T, E>.
📁 qutil::io
dump(Args...)- pretty print function for a values and iterable types like a Pythonprintto the streamstd::coutby default.dumpln(Args...)read(source)- read from file tostd::string.logger<Sink>- minimal modular logger without heap allocation
Check out examples of all the qutil features.
