Lines Matching refs:non_const_copy
9 struct non_const_copy { struct
10 non_const_copy(non_const_copy&);
11 non_const_copy& operator = (non_const_copy&) &;
12 non_const_copy& operator = (non_const_copy&) &&;
13 non_const_copy() = default; // expected-note {{not viable}}
15 non_const_copy::non_const_copy(non_const_copy&) = default; // expected-note {{not viable}}
16 non_const_copy& non_const_copy::operator = (non_const_copy&) & = default; // expected-note {{not vi…
17 non_const_copy& non_const_copy::operator = (non_const_copy&) && = default; // expected-note {{not v…
24 non_const_copy ncc; in fn1()
25 non_const_copy ncc2 = ncc; in fn1()
27 const non_const_copy cncc{}; in fn1()
28 …const non_const_copy cncc1; // expected-error {{default initialization of an object of const type … in fn1()
29 non_const_copy ncc3 = cncc; // expected-error {{no matching}} in fn1()
33 struct non_const_derived : non_const_copy {