Subject: Re: [boost] AllocatorAwareContainers (was: Review of PolyCollection starts today (May 3rd))
From: Glen Fernandes (glen.fernandes_at_[hidden])
Date: 2017-06-15 11:12:56
On Thu, Jun 15, 2017 at 4:17 AM, Gavin Lambert via Boost wrote:
> If the node actually contains aligned_storage rather than T, doesn't that
> then require reinterpret_casting everywhere (since everything will expect a
> T*, not an aligned_storage_t<>*)? Isn't that usually considered a bad
> It also seems really error-prone,
i.e. It is easy to make the mistake you mentioned, among others.
The model isn't nice (but it is what we have, until someone designs a
less terrible one).