@@ -53,7 +53,7 @@ class X {
53
53
// X::exx member function description here
54
54
public: auto exx (cpp2::in<int > count) const -> void;
55
55
56
- public: X(X const &) = delete ;
56
+ public: X(X const &) = delete ; /* No 'that' constructor, suppress copy */
57
57
public: auto operator =(X const &) -> void = delete ;
58
58
59
59
@@ -71,7 +71,7 @@ class Y {
71
71
72
72
public: auto why (cpp2::in<int > count) const -> void;
73
73
74
- public: Y(Y const &) = delete ;
74
+ public: Y(Y const &) = delete ; /* No 'that' constructor, suppress copy */
75
75
public: auto operator =(Y const &) -> void = delete ;
76
76
77
77
#line 53 "pure2-types-order-independence-and-nesting.cpp2"
@@ -85,14 +85,14 @@ template<typename T, typename U> class A {
85
85
public: template <typename V, int J, typename W> static auto f (W const & w) -> void;
86
86
87
87
public: B() = default ;
88
- public: B(B const &) = delete ;
88
+ public: B(B const &) = delete ; /* No 'that' constructor, suppress copy */
89
89
public: auto operator =(B const &) -> void = delete ;
90
90
91
91
#line 61 "pure2-types-order-independence-and-nesting.cpp2"
92
92
};
93
93
94
94
public: A() = default ;
95
- public: A(A const &) = delete ;
95
+ public: A(A const &) = delete ; /* No 'that' constructor, suppress copy */
96
96
public: auto operator =(A const &) -> void = delete ;
97
97
#line 62 "pure2-types-order-independence-and-nesting.cpp2"
98
98
};
0 commit comments