Boost logo

Boost :

From: Kim Barrett (kab_at_[hidden])
Date: 2007-09-21 01:36:09


At 2:06 AM +0300 9/21/07, Achilleas Margaritis wrote:
>I thought std containers use the allocator::pointer type for their pointers.

Unfortunately, not necessarily. They're permitted to bypass that and use
T* directly. Ion Gaztañaga ran into this when trying to put containers
into shared memory for boost.interprocess.


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