L
Lasse Skyum
We had a thread earlies about how to clear the capacity af a std::vector...
how about this:
std::vector<int> v;
v.~vector<int>(); // destruct it (don't know if I need
the <int> here?)
new (&v)vector<int>(); // construct it again
how about this:
std::vector<int> v;
v.~vector<int>(); // destruct it (don't know if I need
the <int> here?)
new (&v)vector<int>(); // construct it again