Boost logo

Boost :

Subject: Re: [boost] [review] Review of PolyCollection starts today (May 3rd)
From: Gavin Lambert (gavinl_at_[hidden])
Date: 2017-05-08 23:14:00


On 9/05/2017 01:48, Adam Wulkiewicz wrote:
> I noticed that in the documentation a word "container" is used WRT poly
> collections. AFAIU this is not correct because poly_collection doesn't
> meet the requirements of C++ container as defined in the standard, i.e.
> allocator_traits<allocator_type>::construct should be called only for
> the element type (23.2.1.3)

On that note, do you know of a more-comprehensible-than-standardese
guide on how allocator_traits is supposed to be used for node-based
custom container types? I've tried to figure it out a couple times but
I'm sure I'm missing important points.


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