C++ Logo

std-proposals

Advanced search

Re: New "static_virtual" keyword

From: Andrey Semashev <andrey.semashev_at_[hidden]>
Date: Thu, 18 Mar 2021 11:54:34 +0300
On 3/18/21 3:58 AM, Phil Bouchard via Std-Proposals wrote:
>
> On 3/17/21 8:49 PM, Andrey Semashev via Std-Proposals wrote:
>>
>> The C++ language does not define such a thing. In real world, whether
>> there will be a virtual function table or not depends on the compiler
>> and its optimization capabilities.
>>
>> What's the difference in terms of the C++ language?
>
> It's not a new fundamental feature, it's just an idea to get cleaner,
> safer and less error messages.

I don't see how any of that is achieved. In fact, I still don't
understand what that new keyword is supposed to do.

Received on 2021-03-18 03:54:53