$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] custom allocators Re:pool_alloc
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2010-03-19 14:54:29
AMDG
Eric Whitcombe wrote:
> Sorry, if this is a little late to be helpful but I thought I'd add
> this for historical purposes for anyone looking at this thread to deal
> with their own problem. All STL containers use allocators to allocate
> and initialize the memory to store the _elements_ in the container not
> the node structure.
This is not true.
> The containers definition of the data structures that support the
> implentation details are purely internal. The allocator interface is
> paramterized on the type of the container element.
All node based containers use rebind to get
an allocator for the internal node type.
In Christ,
Steven Watanabe