
please wait
|
|
|
|
std::vector<int> stuff = {1,2,3,4,5};
I don't think he wants to do it with arrays. I'm guessing he wants something like:std::vector<int> stuff = {1,2,3,4,5}; |
Unfortunately, there is no way to do this...at least not until C++0x comes out. |