Lines Matching full:default
6 A(int) = default; // expected-error {{only special member functions may be defaulted}}
10 void operator=(const A &) = default; // expected-error {{must return 'A &'}}
11 A(...) = default; // expected-error {{cannot be variadic}}
12 A(const A &, ...) = default; // expected-error {{cannot be variadic}}
15 A &operator=(A &&) & = default;
19 A(A &) = default;
20 A &operator=(A &) = default;
22 // -- not have default arguments
23 A(double = 0.0) = default; // expected-error {{cannot have default arguments}}
24 A(const A & = 0) = default; // expected-error {{cannot have default arguments}}