
8 Oct
2007
8 Oct
'07
6:34 p.m.
On 10/8/07, Peter Dimov <pdimov@pdimov.com> 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