Boost logo

Boost :

From: Philippe A. Bouchard (philippeb_at_[hidden])
Date: 2002-08-29 15:50:17


David B. Held wrote:

> "Philippe A. Bouchard" <philippeb_at_[hidden]> wrote in message
> news:akllja$8qu$1_at_main.gmane.org...
>> [...]
>> Main subject: placement new was made for things like that.
>> [...]
>
> I would suggest that placement new was introduced as an aid to
> library authors, not end users.
>
> Dave

Resulting alternatives:
- use it for libraries only;
- use it globally (with some renamed placed_ptr<>);
- displacing the global operator new would always be another solution for
library writers.

-- 
Philippe A. Bouchard

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk