File tree Expand file tree Collapse file tree 4 files changed +19
-0
lines changed Expand file tree Collapse file tree 4 files changed +19
-0
lines changed Original file line number Diff line number Diff line change 4646[submodule "include/asis/include/ut/asis "]
4747 path = include/asis/include/ut/asis
4848 url = https://gist.github.com/dk949/55ab7a19955b3161593067eb3837eb20
49+ [submodule "include/overload/include/ut/overload "]
50+ path = include/overload/include/ut/overload
51+ url = https://gist.github.com/dk949/316411796aa993a7d3e823740ed352d8
Original file line number Diff line number Diff line change @@ -59,6 +59,7 @@ target_link_libraries(MY_TARGET UT::target_name)
5959* ` UT::curry ` : create a curried function out of a regular function
6060* ` UT::defer ` : a macro to defer execution until the scope ends
6161* ` UT::print ` : macros for printing using ` std::format ` in c++20
62+ * ` UT::overload ` : creates a function object merging several other function objects as an overload set
6263
6364<!-- AUTOGEN_END -->
6465
Original file line number Diff line number Diff line change 1+ cmake_minimum_required (VERSION 3.21)
2+ project (libut LANGUAGES CXX)
3+
4+ add_library (libut_target_overload INTERFACE )
5+ target_sources (libut_target_overload PUBLIC
6+ FILE_SET HEADERS
7+ BASE_DIRS ${CMAKE_CURRENT_SOURCE_DIR} /include
8+ FILES
9+ ${CMAKE_CURRENT_SOURCE_DIR} /include /ut/overload/overload.hpp
10+ )
11+
12+ message (STATUS "libut: adding UT::overload" )
13+ add_library (UT::overload ALIAS libut_target_overload)
14+
You can’t perform that action at this time.
0 commit comments