certi-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [certi-dev] Request for comments: IEEE 1516.2 compliant encoding


From: Eric NOULARD
Subject: Re: [certi-dev] Request for comments: IEEE 1516.2 compliant encoding
Date: Fri, 13 Jun 2008 22:42:22 +0200

Le Fri, 13 Jun 2008 20:55:47 +0200,
"Eric Noulard" <address@hidden> a écrit :

> 
> overloading operator new is somehow syntactic sugar
> using the same idea as:
> 
> TB B(buffer, bufferSize);
> 
> but it may be nice to write
> 
> TB* B = new(buffer) TB();

Sorry my mistake:

TB* B = new(buffer) TB;

is the "placement new" which is supported by standard C++ itself
without operator new overload.

Eric





reply via email to

[Prev in Thread] Current Thread [Next in Thread]