Lines Matching refs:explicit
5 explicit A();
7 explicit operator int(); // expected-warning {{explicit conversion functions are a C++11 extension}}
9 explicit void f0(); // expected-error {{'explicit' can only be applied to a constructor or conversion function}}
14 explicit A::A() { } // expected-error {{'explicit' can only be specified inside the class definition}}
15 explicit A::operator bool() { return false; } // expected-warning {{explicit conversion functions are a C++11 extension}}\
16 // expected-error {{'explicit' can only be specified inside the class definition}}
19 friend explicit A::A(); // expected-error {{'explicit' is invalid in friend declarations}}