void f() {
std::vector<int> v = {1, 2, 3, /* 10,000 values */};
}
Every call to f() builds a fresh 40 KB array on the stack, then copies it into the vector
The values never change. The rules effectively required the copy anyway
Our mission is to make the C++ programming language accessible and useful to anyone who wishes to learn and apply the language.

