|
Boost Users : |
Subject: Re: [Boost-users] PolyCollection requiring copyable
From: Joaquin M López Muñoz (joaquinlopezmunoz_at_[hidden])
Date: 2017-10-04 18:02:18
El 04/10/2017 a las 16:28, Ion Gaztañaga via Boost-users escribió:
> On 04/10/2017 9:09, Joaquin M López Muñoz via Boost-users wrote:
>>
>> This compiles and works fine; of course, if a segment reallocation is
>> tried
>> (when adding the 101st element) a not_moveable exception is thrown.
>
> But I understand users don't care about the internal reallocation,
> they just
> want to add more elements to the container, and they maybe can't modify
> the definition of the base class / interface.
Absolutely, this was just an example of the resulting behavior with a
non-moveable
class. I still am of the opinion that the available interface would be
too restrictive to
consider the case with the lib.
JoaquÃn M López Muñoz
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