Searched refs:ExplicitBool (Results 1 – 2 of 2) sorted by relevance
51 struct ExplicitBool { struct52 ExplicitBool(ExplicitBool const&) = default;53 ExplicitBool(ExplicitBool&&) = default;58 friend struct MoveOnlyCallable<ExplicitBool>; argument59 friend struct CopyCallable<ExplicitBool>;61 constexpr explicit ExplicitBool(bool x) : value(x) {} in ExplicitBool() function62 constexpr ExplicitBool& operator=(bool x) { in operator =() argument174 using T = CopyCallable<ExplicitBool>; in return_type_tests()
202 struct ExplicitBool { struct203 …ExplicitBool &operator=(bool) = default; // expected-error{{only special member functions may be d…208 ExplicitBool t; in fn()