header only C++ utilities for C++23 or higher.
- C++ compiler that supports C++23
- CMake (optional)
- Boost (optional)
- Boost.Stacktrace (required for
yk::throwtoryk::printt) - Boost.Test (required for testing)
- Boost.ContainerHash (there are adaptors for
boost::hashorboost::hash_combine) - Boost.Lockfree (there are adaptors for
boost::lockfree::queue) - Boost.Range (there are adaptors for
boost::iterator_range) - Boost.Variant (there are adaptors for
boost::variant)
- Boost.Stacktrace (required for
- sg14::inplace_vector (optional; there are helper header for
sg14::inplace_vector)
# configure
cmake -Bbuild -S.
# install
cmake --install buildWrite below to your CMakeLists.txt
include(FetchContent)
FetchContent_Declare(
yk_util
GIT_REPOSITORY https://github.com/yaito3014/yk_util.git
GIT_TAG v0.3.1
)
FetchContent_MakeAvailable(yk_util)
target_link_libraries(your_target yk::yk_util)