Boost logo

Boost :

From: Giovanni Piero Deretta (gpderetta_at_[hidden])
Date: 2007-09-20 20:53:46


On 9/21/07, Achilleas Margaritis <axilmar_at_[hidden]> wrote:
>
> I thought std containers use the allocator::pointer type for their pointers.
>

In theory yes. In practice the standard gives standard library
implementors an explicit "temporary" permission to always assume that
allocator::pointer is a raw pointer. It is mostly a quality of
implementation issue, as there are standard libraries that do not make
use of this permission.

The upcoming revision of the standard will very likely remove this permission.

gpd


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