Boost logo

Boost :

Subject: Re: [boost] ASIO into the standard
From: Felipe Magno de Almeida (felipe.m.almeida_at_[hidden])
Date: 2014-07-10 22:48:14

On Thu, Jul 10, 2014 at 4:11 PM, Niall Douglas
<s_sourceforge_at_[hidden]> wrote:
> On 9 Jul 2014 at 22:53, Felipe Magno de Almeida wrote:


> Nor are allocators consistently used for internals of STL containers.
> They have to be used for the type being stored of course, but
> internal data structures not exposed to external code may use any
> allocator e.g. malloc().

I thought this only applied to non-templated-on-allocator types.
For example, list must use the allocator passed, rebound of course,
to allocate its node. Or am I completely mistaken?
If so then allocators are just fairy tale.

> The next TS from ISO has a type erased allocator. Ought to make
> allocator support much easier.
> Niall
> --
> ned Productions Limited Consulting

Best regards,

Felipe Magno de Almeida

Boost list run by bdawes at, gregod at, cpdaniel at, john at