質問編集履歴

2

codeタグの入力

2016/02/03 06:31

投稿

kotsukotsu
kotsukotsu

スコア12

test CHANGED
File without changes
test CHANGED
@@ -5,6 +5,8 @@
5
5
  下記for文は動きますが、
6
6
 
7
7
 
8
+
9
+ ```C++
8
10
 
9
11
  std::vector<const DataIn*> ref;
10
12
 
@@ -16,15 +18,21 @@
16
18
 
17
19
  }
18
20
 
21
+ ```
22
+
19
23
 
20
24
 
21
25
  下記std::copyはalgorithmエラーが発生します。
22
26
 
23
27
 
24
28
 
29
+ ```C++
30
+
25
31
  std::vector<const DataIn*> ref;
26
32
 
27
33
  std::copy(data.begin(), data.end(), std::back_inserter(ref) );
34
+
35
+ ```
28
36
 
29
37
 
30
38
 

1

誤字修正

2016/02/03 06:31

投稿

kotsukotsu
kotsukotsu

スコア12

test CHANGED
File without changes
test CHANGED
@@ -22,7 +22,7 @@
22
22
 
23
23
 
24
24
 
25
- std::vector<const RaceLib::RacerDataIn*> ref;
25
+ std::vector<const DataIn*> ref;
26
26
 
27
27
  std::copy(data.begin(), data.end(), std::back_inserter(ref) );
28
28