int *iptr = new int[10] ----> should call overloaded new[] delete [] iptr -------------> should call overloaded delete[] map.insert(10) ------------->; should call default new[] ( which are in new.h) map.erase() ---------------> should call default delete[] //(which are in new.h)
new/delete
malloc
free
new
delete
std::map
default_new
default_delete
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)