回答編集履歴

1

追記

2021/05/10 10:50

投稿

Serbonis
Serbonis

スコア586

test CHANGED
@@ -25,3 +25,37 @@
25
25
  }
26
26
 
27
27
  ```
28
+
29
+ 追記
30
+
31
+ ```C++
32
+
33
+ class TEST {
34
+
35
+ class TESTARY {
36
+
37
+ public:
38
+
39
+ TESTARY(TEST& t):test{t}{}
40
+
41
+ private:
42
+
43
+ TEST& test;
44
+
45
+ public:
46
+
47
+ Test_Data& operater[](uint_8 n){
48
+
49
+ switch(n){
50
+
51
+ case 0: return test.Height;
52
+
53
+ }
54
+
55
+ }
56
+
57
+ } TestAry{*this};
58
+
59
+ };
60
+
61
+ ```