14namespace hi::inline v1 {
49template<
typename T,
typename Other>
52template<
typename BaseType,
typename DerivedType>
53concept base_of = std::is_base_of_v<BaseType, DerivedType>;
55template<
typename BaseType,
typename DerivedType>
58template<
typename DerivedType,
typename BaseType>
59concept derived_from = hi::is_derived_from_v<DerivedType, BaseType>;
61template<
typename DerivedType,
typename BaseType>
64template<
typename BaseType,
typename DerivedType>
67template<
typename BaseType,
typename DerivedType>
87 } -> std::convertible_to<std::string>;
94 from_string<T>(std::string_view{})
95 } -> std::convertible_to<T>;
98template<
typename From,
typename To>
103 } -> std::convertible_to<To>;
111 } -> std::convertible_to<std::size_t>;
124template<
typename Forward,
typename T>
137 { a.await_ready() } -> std::convertible_to<bool>;
150 {a.operator
co_await()};
160 {
operator co_await(
static_cast<T &&
>(a))};
Definition concepts.hpp:17
Definition concepts.hpp:20
Definition concepts.hpp:23
Definition concepts.hpp:26
Definition concepts.hpp:29
Definition concepts.hpp:32
Definition concepts.hpp:35
Definition concepts.hpp:38
Definition concepts.hpp:41
Definition concepts.hpp:44
Definition concepts.hpp:47
Definition concepts.hpp:50
Definition concepts.hpp:53
Definition concepts.hpp:56
Definition concepts.hpp:59
Definition concepts.hpp:62
Definition concepts.hpp:65
Definition concepts.hpp:68
Definition concepts.hpp:71
Definition concepts.hpp:77
Definition concepts.hpp:83
Definition concepts.hpp:91
Definition concepts.hpp:99
Definition concepts.hpp:107
Definition concepts.hpp:115
Concept for std::is_scoped_enum_v<T>.
Definition concepts.hpp:122
Definition concepts.hpp:125
Check if type can be directly co_await on.
Definition concepts.hpp:134
Check if type can be indirectly co_await on.
Definition concepts.hpp:148
Check if type can be indirectly co_await on.
Definition concepts.hpp:158
Check if type can be directly or indirectly co_await on.
Definition concepts.hpp:170