Regrow memory allocated by operator new()?

后端 未结 4 1693
心在旅途
心在旅途 2021-01-22 03:59

Is it possible to regrow memory allocated by operator new(), when allocated this way:

char* buf = new char[60];

The C++ FAQ states

4条回答
提交回复
热议问题