how to clear stl::set constructed using placement newYou attempt to "optimize" those small stubs with your placements. Is that really your intention? Yes...
how to clear stl::set constructed using placement newps->~set<int>() ; bingo,I chose this one, thanks a lot.
how to clear stl::set constructed using placement newWorks like a magic,exactly what i want,though I cannot make out why these code works using set_type ...
how to clear stl::set constructed using placement newBecause I have hundred of sets,and these sets tend to be released and reallocted as the program runn...
how to clear stl::set constructed using placement newI noticed when constructing std::set using placement new,like this [code] std::set<int> *pSet = (s...
This user does not accept Private Messages