There is a reason for new operator to not be able to reallocate memory again. I am not able to recall but there is a good article on it. The reason for no realloc in C++ except the standard C realloc, is because, new has to call the constructors of the class in case u allocate class objects...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.