4 lines
87 B
C++
4 lines
87 B
C++
|
auto vec = std::vector<int> {1, 2, 3};
|
||
|
for (auto value: vec)
|
||
|
vec.push_back(value);
|