dot-xx
A personal collection of small C++ modules
Loading...
Searching...
No Matches
dxx::selftest::named_test_body Concept Reference

Concept definition

template<typename T>
concept dxx::selftest::named_test_body = (std::invocable<T> && get_test_name<T>().has_value())
Definition name_deduce.xx:188
consteval std::optional< std::string_view > get_test_name()
Get an optional string_view with the test name, or nullopt if not a test for some reason.
Definition name_deduce.xx:179