回答編集履歴
1
fix typo
answer
CHANGED
@@ -39,7 +39,7 @@
|
|
39
39
|
|
40
40
|
struct Z2 {
|
41
41
|
Z2(int, int) {} // 非explicit
|
42
|
-
Z2(const
|
42
|
+
Z2(const Z2&) = delete;
|
43
43
|
};
|
44
44
|
|
45
45
|
Z1 z1 = {1}; // OK
|