4 ms·
It is not advisable to mix malloc / free / realloc (C style) with new / delete (C++ style), and C++ doesn't have a "native" realloc because of trickiness with c
by fiatmoney 11y ago
It is not advisable to mix malloc / free / realloc (C style) with new / delete (C++ style), and C++ doesn't have a "native" realloc because of trickiness with con/destructors.