|
Boost : |
From: Felipe Magno de Almeida (felipe.m.almeida_at_[hidden])
Date: 2007-10-08 14:34:02
On 10/8/07, Peter Dimov <pdimov_at_[hidden]> wrote:
> Felipe Magno de Almeida:
[snip]
> The low-level code generally has no idea what allocator it needs to create.
For boost.exception code only that's not a problem. If we need
allocator customization we use the preprocessor. It just can't reuse
the allocator for types given from the user. Like container instances.
But we can default-construct and swap objects. I know it is not
guaranteed not to throw, but most implementations don't.
Regards,
-- Felipe Magno de Almeida
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk