I want to know if there is shorter way to push two arguments into vector
std::vector<vector> vec;
vec.push_back(1);
vec.push_back(2);
I want to write those two push_back lines in one line. Is it possible?
I want to know if there is shorter way to push two arguments into vector
std::vector<vector> vec;
vec.push_back(1);
vec.push_back(2);
I want to write those two push_back lines in one line. Is it possible?