Topic: Help needed: Realloc in C++
Author: bouaziz@asterix.enpc.fr (Laurent BOUAZIZ)
Date: 21 Oct 92 16:33:07 GMT Raw View
I would like to use a kind of realloc function to let template arrays grow
without having to systematically allocate the whole place and copy the previous
array. Is there something equivalent to the realloc in C? By the way, what is the
exact syntax of the "new" operator using the placement argument? I tried
something with BC++3.1 and GNU C++ but they don't seem to accept the syntax from
Stroustrup's book, or did I misinterpret it?
Please email any answer.