8#include "../macros.hpp"
16hi_export_module(hikogui.utility.concepts);
18hi_export
namespace hi {
inline namespace v1 {
53template<
typename Context,
typename Expected>
56template<
typename BaseType,
typename DerivedType>
57concept base_of = std::is_base_of_v<BaseType, DerivedType>;
59template<
typename BaseType,
typename DerivedType>
62template<
typename Context,
typename Expected>
65template<
typename DerivedType,
typename BaseType>
68template<
typename BaseType,
typename DerivedType>
71template<
typename BaseType,
typename DerivedType>
92 } -> std::convertible_to<std::string>;
99 } -> std::convertible_to<T>;
102template<
typename From,
typename To>
106 } -> std::convertible_to<To>;
113 } -> std::convertible_to<std::size_t>;
130template<
typename Context,
typename Expected,
typename... OtherExpected>
131concept forward_of = is_forward_of_v<Context, Expected, OtherExpected...>;
137template<
typename Context>
geometry/margins.hpp
Definition lookahead_iterator.hpp:5
The HikoGUI API version 1.
Definition lookahead_iterator.hpp:6
T from_string(std::string_view str, int base=10)
Convert a string to an integer.
Definition charconv.hpp:73
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:75
Definition concepts.hpp:82
Definition concepts.hpp:89
Definition concepts.hpp:96
Definition concepts.hpp:103
Definition concepts.hpp:110
Definition concepts.hpp:117
Concept for std::is_scoped_enum_v<T>.
Definition concepts.hpp:124
True if T is a forwarded type of Forward.
Definition concepts.hpp:131
An array of this type will implicitly create objects within that array.
Definition concepts.hpp:138