Afficher un message
Vieux 18/10/2007, 12h29   #6
Richard Heathfield
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Is realloc good form ?

Mark Bluemel said:

> vipvipvipvip.ru@gmail.com wrote:
>
>> realloc tries not to copy the data, just resize the available block of
>> memory.

>
> Does the standard enforce this?


No.

> Otherwise you are simply discussing what
> some (possibly all, but I doubt you could prove that) implementations do.


Right.

--
Richard Heathfield <http://www.cpax.org.uk>
Email: -http://www. +rjh@
Google users: <http://www.cpax.org.uk/prg/writings/googly.php>
"Usenet is a strange place" - dmr 29 July 1999
  Réponse avec citation
 
Page generated in 0,04435 seconds with 9 queries