Skip to content

wandvvs/qutil

Repository files navigation

🛠️ qutil

Provides modern and useful containers and algorithms

GitHub opened issues Status Stars

📥 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 Rust Result<T, E>.

📁 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.

Check out examples of all the qutil features.