Home
last modified time | relevance | path

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

/llvm-project-15.0.7/libcxx/test/std/utilities/function.objects/func.not_fn/
H A Dnot_fn.pass.cpp26 struct EvilBool { struct
29 EvilBool(EvilBool const&) = default; argument
30 EvilBool(EvilBool&&) = default;
32 friend EvilBool operator!(EvilBool const& other) { in operator !()
34 return EvilBool{!other.value}; in operator !()
38 friend struct MoveOnlyCallable<EvilBool>;
39 friend struct CopyCallable<EvilBool>;
40 friend struct NoExceptCallable<EvilBool>;
43 EvilBool& operator=(EvilBool const& other) = default;
49 int EvilBool::bang_called = 0; argument
[all …]