I was wondering if this code leak :
int main()
{
boost::ptr_vector <char
> v;
v.push_back(new char[10]);
v.clear()
}
Will the ptr_vector destructor or clear() function delete the pointers it contains or do i have to do it myself?