C++ Logo

STD-PROPOSALS

Advanced search

Subject: Re: [std-proposals] Conditional final class-virt-specifier
From: Ville Voutilainen (ville.voutilainen_at_[hidden])
Date: 2020-07-15 15:19:46


On Wed, 15 Jul 2020 at 23:15, Paweł Benetkiewicz via Std-Proposals
<std-proposals_at_[hidden]> wrote:
> > ..and why is that important to be able to do? If I can't construct a base class, that seems to prevent using it as a base class sufficiently well.
> Disallowing constructing a class does not disallow inheriting from it, same as disallowing initializing a class does not disallow inheriting from it.

So what? That doesn't explain why there is a need to disallow
inheritance, rather than disallowing the ability to initialize
an object as a base subobject.


STD-PROPOSALS list run by herb.sutter at gmail.com

Standard Proposals Archives on Google Groups