phd/assets/dash-3d-implementation/undefined-behaviour.cpp

4 lines
87 B
C++
Raw Permalink Normal View History

2019-09-25 17:18:35 +02:00
auto vec = std::vector<int> {1, 2, 3};
for (auto value: vec)
vec.push_back(value);