Is the following line correct?
std::vector nums{3, 4, 2, 9, 15, 267};
It doesn't work with me, I'm using:
g++ -std=c++0x
to build.
I have to explicitly use std::vector<int>.
- Thanks for spotting that out. Now it's fixed.P12 14:37, 24 August 2011 (PDT)