Date: Thu, 23 Jan 2025 13:48:49 +0200
On Thu, 23 Jan 2025 at 13:46, Frederick Virchanza Gotham via
Std-Proposals <std-proposals_at_[hidden]> wrote:
>
>
>
> On Thursday, January 23, 2025, Filip wrote:
>>
>> Maybe a stupid question but why wouldn’t the STL containers be marked with final if it is not encouraged to inherit from them?
>
>
>
> This is a good question, and if Arthur is right in what he's saying, then Arthur should be authoring a defect report to mark those containers 'final'.
There's a difference between something being discouraged and something
being impossible. There are valid and non-problematic things
you can do by inheriting the standard library containers, so it would
be ill-advised to make them final.
Std-Proposals <std-proposals_at_[hidden]> wrote:
>
>
>
> On Thursday, January 23, 2025, Filip wrote:
>>
>> Maybe a stupid question but why wouldn’t the STL containers be marked with final if it is not encouraged to inherit from them?
>
>
>
> This is a good question, and if Arthur is right in what he's saying, then Arthur should be authoring a defect report to mark those containers 'final'.
There's a difference between something being discouraged and something
being impossible. There are valid and non-problematic things
you can do by inheriting the standard library containers, so it would
be ill-advised to make them final.
Received on 2025-01-23 11:49:04