
21 Sep
2007
21 Sep
'07
12:53 a.m.
On 9/21/07, Achilleas Margaritis <axilmar@ath.forthnet.gr> 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