回答編集履歴
1
内容追記
test
CHANGED
@@ -12,10 +12,16 @@
|
|
12
12
|
|
13
13
|
```C++
|
14
14
|
|
15
|
+
vector<Hogehoge> _new_list;
|
16
|
+
|
15
17
|
for (auto itr : _data_list)
|
16
18
|
|
17
19
|
{ // 初期の数値を読み込む
|
18
20
|
|
21
|
+
Hogehoge new_item(itr); // ←要コピーコンストラクタ
|
22
|
+
|
19
|
-
it
|
23
|
+
new_item.value = GetPrivateProfileInt(itr.section.c_str(), itr.key.c_str(), itr.value, itr.path.c_str());
|
24
|
+
|
25
|
+
_new_list.push_back(new_item);
|
20
26
|
|
21
27
|
```
|