I noticed when constructing std::set using placement new,like this
1
2
std::set<int> *pSet = (std::set<int>*)new char[sizeof(std::set<int>)];
new(pSet) std::set<int>;
the placement new in the second line caused memory increased,but there isn't any std::set destructor available,so how to properly clear std::set constructed using placement new,when I don't want to delete the pointer because I want to keep the pointer for future use?