C++ Logo

std-proposals

Advanced search

Re: [External] New "static_virtual" keyword

From: Phil Bouchard <boost_at_[hidden]>
Date: Thu, 18 Mar 2021 18:32:21 -0400
On 3/18/21 6:17 PM, Phil Bouchard via Std-Proposals wrote:
>
>
> On 3/18/21 6:03 PM, Phil Bouchard via Std-Proposals wrote:
>>
>>
>> On 3/18/21 2:46 PM, Phil Bouchard via Std-Proposals wrote:
>>>
>>> Double-checking here...
>>>
>>> As long as there's an equivalent to pure virtual at compile-time
>>> (forcing derived classes to override required member functions)
>>> other than explicitly adding concepts for each member functions.
>>>
>> I guess I would add inheritance to concepts then. I think you all
>> understand what I mean here and why...
>>
> Ok it looks like the equivalent can be achieved with "nested
> requirements". Good job guys!
>
Although I would still add inheritance to concepts for consistency.


-- 
*Phil Bouchard*
Founder
C.: (819) 328-4743
Fornux Logo <http://www.fornux.com>

Received on 2021-03-18 17:32:24