D
David Rasmussen
If I do this:
class Whatever{ }
vector<Whatever> v;
v.push_back(Whatever()); // or using any other constructor Whatever
// might have
are there any ownership problems? Or any other problemns? Seems kind of
wrong to insert a temporary in a vector.
/David
class Whatever{ }
vector<Whatever> v;
v.push_back(Whatever()); // or using any other constructor Whatever
// might have
are there any ownership problems? Or any other problemns? Seems kind of
wrong to insert a temporary in a vector.
/David