void ImplicitThisCapture() { [](){(void)Member;}; // expected-error {{'this' cannot be implicitly captured in this context}} [&](){(void)Member;}; [this](){(void)Member;}; [this]{[this]{};}; []{[this]{};};// expected-error {{'this' cannot be implicitly captured in this context}} []{Overload(3);}; []{Overload();}; // expected-error {{'this' cannot be implicitly captured in this context}} []{(void)typeid(Overload());}; []{(void)typeid(Overload(.5f));};// expected-error {{'this' cannot be implicitly captured in this context}} }
int HVS_B0307::ReadOverload(bool* over) { __u16 code; int rc=ReadCode(&code); if ( rc&CAMAC_CC_ERRORS ) return rc; *over = Overload(code); return rc; }
int HVS_B0307::ReadState(bool* s, bool* over) { __u16 code; int rc=ReadCode(&code); if ( rc&CAMAC_CC_ERRORS ) return rc; *s = On(code); if ( over ) *over = Overload(code); return rc; }
explicit C(T&& value) { init(std::forward<T>(value), Overload()); }