24 template <
class Derived,
class Base>
26 std::is_convertible_v<const volatile Derived*, const volatile Base*>;
36 template<
typename F,
typename... Args>
38 { std::invoke(f, std::forward<Args>(
args)...) };
41 template <
class From,
class To>
43 static_cast<To
>(std::declval<From>());
49 template <
class T,
class... Args >
52 template<
typename _Tp>
65 template<
class T,
class U >
66 concept SameHelper = std::is_same_v<T, U>;
69 template<
class T,
class U >
70 concept same_as = detail::SameHelper<T, U> && detail::SameHelper<U, T>;
74 template <
class T,
class U >
79 template<
class LHS,
class RHS >
82 const std::remove_reference_t<RHS>&> &&
83 requires(LHS lhs, RHS&& rhs) {
84 { lhs = std::forward<RHS>(rhs) } -> std::same_as<LHS>;
88 requires(T& a, T& b) {
109 requires { ::new T; };
120 { i++ } -> std::same_as<I>;
124 template<
typename F,
typename... Args>
131 template<
typename F,
typename From,
typename To>
132 concept mapper =
requires(F&& f, From&& from) {
136 template<
typename F,
typename ProducedObject>
151 concept is_tuple =
requires { std::tuple_size<T>::value; };
167 typename std::decay_t<T>::emits_args_t;
176template <
typename Slot,
typename Signal>
178 { &std::decay_t<Slot>::operator() };
179} ||
requires (Slot&& c) {
187template<aui::convertible_to<AObjectBase*> ObjectPtr,
typename Invocable>
189 ObjectPtr boundObject;
196 typename std::decay_t<T>::Underlying;
219 { t = std::declval<typename std::decay_t<T>::Underlying>() };
229template<AAnySignalOrProperty T>
232template<AAnySignal T>
234 using args =
typename T::emits_args_t;
236template<AAnyProperty T>
238 using args = std::tuple<typename T::Underlying>;
Base class for signal.
Definition AAbstractSignal.h:368
Represents an abstract thread. Not all threads are created through AThread - these are interfaced wit...
Definition AThread.h:33
Definition AObjectBase.h:23
Represents a Unicode character string.
Definition AString.h:37
Definition concepts.h:223
Definition concepts.h:226
Definition concepts.h:166
Definition concepts.h:177
Definition concepts.h:194
Definition concepts.h:215
Definition concepts.h:174
Concept shortcut to std::is_arithmetic_v.
Definition concepts.h:145
Definition concepts.h:100
Definition concepts.h:107
Definition concepts.h:137
Definition concepts.h:119
Invokable concept.
Definition concepts.h:37
Definition concepts.h:151
Definition concepts.h:132
Definition concepts.h:125
Definition concepts.h:116
Definition concepts.h:113
Definition concepts.h:148
API_AUI_CORE const ACommandLineArgs & args() noexcept
Definition OSAndroid.cpp:29
Definition concepts.h:230
Definition concepts.h:185
Definition concepts.h:188