15namespace hi::inline v1 {
50template<
typename T,
typename Other>
53template<
typename BaseType,
typename DerivedType>
54concept base_of = std::is_base_of_v<BaseType, DerivedType>;
56template<
typename BaseType,
typename DerivedType>
59template<
typename DerivedType,
typename BaseType>
60concept derived_from = hi::is_derived_from_v<DerivedType, BaseType>;
62template<
typename DerivedType,
typename BaseType>
65template<
typename BaseType,
typename DerivedType>
68template<
typename BaseType,
typename DerivedType>
88 } -> std::convertible_to<std::string>;
95 from_string<T>(std::string_view{})
96 } -> std::convertible_to<T>;
99template<
typename From,
typename To>
104 } -> std::convertible_to<To>;
112 } -> std::convertible_to<std::size_t>;
125template<
typename Forward,
typename T>
Definition concepts.hpp:18
Definition concepts.hpp:21
Definition concepts.hpp:24
Definition concepts.hpp:27
Definition concepts.hpp:30
Definition concepts.hpp:33
Definition concepts.hpp:36
Definition concepts.hpp:39
Definition concepts.hpp:42
Definition concepts.hpp:45
Definition concepts.hpp:48
Definition concepts.hpp:51
Definition concepts.hpp:54
Definition concepts.hpp:57
Definition concepts.hpp:60
Definition concepts.hpp:63
Definition concepts.hpp:66
Definition concepts.hpp:69
Definition concepts.hpp:72
Definition concepts.hpp:78
Definition concepts.hpp:84
Definition concepts.hpp:92
Definition concepts.hpp:100
Definition concepts.hpp:108
Definition concepts.hpp:116
Concept for std::is_scoped_enum_v<T>.
Definition concepts.hpp:123
Definition concepts.hpp:126