Home
last modified time | relevance | path

Searched refs:EvilBool (Results 1 – 2 of 2) sorted by relevance

/external/libcxx/test/std/utilities/function.objects/func.not_fn/
Dnot_fn.pass.cpp197 struct EvilBool { struct
200 EvilBool(EvilBool const&) = default; argument
201 EvilBool(EvilBool&&) = default;
203 friend EvilBool operator!(EvilBool const& other) { in operator !()
205 return EvilBool{!other.value}; in operator !()
209 friend struct MoveOnlyCallable<EvilBool>;
210 friend struct CopyCallable<EvilBool>;
211 friend struct NoExceptCallable<EvilBool>;
213 explicit EvilBool(bool x) : value(x) {} in EvilBool() argument
214 EvilBool& operator=(EvilBool const& other) = default;
[all …]
/external/llvm-project/libcxx/test/std/utilities/function.objects/func.not_fn/
Dnot_fn.pass.cpp196 struct EvilBool { struct
199 EvilBool(EvilBool const&) = default; argument
200 EvilBool(EvilBool&&) = default;
202 friend EvilBool operator!(EvilBool const& other) { in operator !()
204 return EvilBool{!other.value}; in operator !()
208 friend struct MoveOnlyCallable<EvilBool>;
209 friend struct CopyCallable<EvilBool>;
210 friend struct NoExceptCallable<EvilBool>;
212 explicit EvilBool(bool x) : value(x) {} in EvilBool() argument
213 EvilBool& operator=(EvilBool const& other) = default;
[all …]