Home
last modified time | relevance | path

Searched defs:ForwardingCallObject (Results 1 – 4 of 4) sorted by relevance

/aosp_15_r20/external/cronet/third_party/libc++/src/test/support/
H A Dvariant_test_helpers.h91 struct ForwardingCallObject { struct
94 ForwardingCallObject& operator()(Args&&...) & { in operator() argument
100 const ForwardingCallObject& operator()(Args&&...) const & { in operator() argument
106 ForwardingCallObject&& operator()(Args&&...) && { in operator() argument
112 const ForwardingCallObject&& operator()(Args&&...) const && { in operator() argument
117 template <class... Args> static void set_call(CallType type) { in set_call()
142 CallType ForwardingCallObject::last_call_type = CT_None; argument
H A Dcallable_types.h130 struct ForwardingCallObject { struct
131 struct State {
157 explicit constexpr ForwardingCallObject(State& st) : st_(&st) {} in ForwardingCallObject() argument
160 constexpr bool operator()(Args&&...) & { in operator()
166 constexpr bool operator()(Args&&...) const & { in operator()
173 constexpr bool operator()(Args&&...) && { in operator()
179 constexpr bool operator()(Args&&...) const && { in operator()
/aosp_15_r20/external/libcxx/test/std/utilities/variant/variant.visit/
H A Dvisit.pass.cpp49 struct ForwardingCallObject { struct
51 template <class... Args> bool operator()(Args &&...) & { in operator ()()
56 template <class... Args> bool operator()(Args &&...) const & { in operator ()()
62 template <class... Args> bool operator()(Args &&...) && { in operator ()()
67 template <class... Args> bool operator()(Args &&...) const && { in operator ()()
91 CallType ForwardingCallObject::last_call_type = CT_None; argument
/aosp_15_r20/external/libcxx/test/std/utilities/function.objects/func.not_fn/
H A Dnot_fn.pass.cpp138 struct ForwardingCallObject { struct
141 bool operator()(Args&&...) & { in operator ()()
147 bool operator()(Args&&...) const & { in operator ()()
154 bool operator()(Args&&...) && { in operator ()()
160 bool operator()(Args&&...) const && { in operator ()()
188 CallType ForwardingCallObject::last_call_type = CT_None; argument