This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [top-level] C++-friendly allocators for libiberty
- From: Bernardo Innocenti <bernie at develer dot com>
- To: Bernardo Innocenti <bernie at develer dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>, gdb-patches at sources dot redhat dot com, binutils at sources dot redhat dot com, DJ Delorie <dj at redhat dot com>, ian at wasabisystems dot com
- Date: Sat, 26 Jun 2004 03:05:33 +0200
- Subject: Re: [top-level] C++-friendly allocators for libiberty
- Organization: Develer S.r.l.
- References: <40DCC86A.4010306@develer.com>
Bernardo Innocenti wrote:
> +#define xcrealloc(P, T) (T *) xrealloc (P, sizeof(T))
This should have been "xrenew" (unless someone comes up
with a better name for it).
--
// Bernardo Innocenti - Develer S.r.l., R&D dept.
\X/ http://www.develer.com/