質問編集履歴

1

コンパイルエラーの箇所を修正

2019/03/12 08:55

投稿

tiitoi
tiitoi

スコア21956

test CHANGED
File without changes
test CHANGED
@@ -112,7 +112,7 @@
112
112
 
113
113
  // 親クラス
114
114
 
115
- template <class Child, class SomeType> // コンパイルエラーその1
115
+ template <class Child, class SomeType>
116
116
 
117
117
  struct Base
118
118
 
@@ -140,7 +140,7 @@
140
140
 
141
141
  template <class SomeType>
142
142
 
143
- struct Derived1 : Base<Derived1, SomeType> // コンパイルエラーその2
143
+ struct Derived1 : Base<Derived1, SomeType> // コンパイルエラーその1
144
144
 
145
145
  {
146
146
 
@@ -160,7 +160,7 @@
160
160
 
161
161
  template <class SomeType>
162
162
 
163
- struct Derived2 : Base<Derived2, SomeType>
163
+ struct Derived2 : Base<Derived2, SomeType> // コンパイルエラーその2
164
164
 
165
165
  {
166
166