Searched refs:ExplicitCopy (Results 1 – 2 of 2) sorted by relevance
16 struct ExplicitCopy { struct19 ExplicitCopy() { id = 15; } in ExplicitCopy() function20 ExplicitCopy(const ExplicitCopy &x) { id = 25; } in ExplicitCopy() function21 ~ExplicitCopy() { id = 35; } in ~ExplicitCopy() argument26 ExplicitCopy o2; // non-trivial initialization.
28 struct ExplicitCopy { struct29 ExplicitCopy(); // expected-note 2{{not viable}}30 explicit ExplicitCopy(const ExplicitCopy&);32 auto init_kind_1 = [ec(ExplicitCopy())] {}; in __anon078d28b50502()33 auto init_kind_2 = [ec = ExplicitCopy()] {}; // expected-error {{no matching constructor}} in __anon078d28b50602()40 template void init_kind_template<ExplicitCopy>(); // expected-note {{instantiation of}}