Boost logo

Boost Users :

Subject: Re: [Boost-users] Pointer Container Library changes in 1.66.0
From: Daniel James (dnljms_at_[hidden])
Date: 2018-04-06 08:48:58


On 6 April 2018 at 09:12, Thorsten Ottosen via Boost-users
<boost-users_at_[hidden]> wrote:
> Den 05-04-2018 kl. 18:25 skrev Daniel James via Boost-users:
>>
>> On 5 April 2018 at 16:11, Thorsten Ottosen via Boost-users
>> <boost-users_at_[hidden]> wrote:
>>>
>>>
>>> It's the fact that one of the merged changes was to inherit privately
>>> from
>>> the clone_allocator which in turn forbids the use of final classes as
>>> clone_allocator types.
>>
>>
>> Oh, that's something I haven't thought about. There are quite a few
>> places in boost where inheritance from generic types is used,
>> presumably they've all got the same problem. I'm not sure if there's a
>> good way to handle this.
>
>
> We always have compressed_pair, however ugly it is to use.

compressed_pair has this problem as well. I created an issue:
https://github.com/boostorg/utility/issues/43


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net