Broken?
deadalnix
deadalnix at gmail.com
Wed Mar 12 17:35:34 PDT 2014
On Wednesday, 12 March 2014 at 21:38:03 UTC, Walter Bright wrote:
> On 3/11/2014 2:28 PM, Michel Fortin wrote:
>> class Foo
>> {
>> final:
>> void bar();
>> void baz();
>>
>> virtual:
>> void crack();
>> void crunch();
>>
>> final:
>> void dodge();
>> void damp();
>> virtual void divert();
>> void doh();
>> }
>
> class Foo
> {
> final
> {
> void bar();
> void baz();
> }
>
> void crack();
> void crunch();
>
> final
> {
> void dodge();
> void damp();
> void divert();
> void doh();
> }
> }
>
> That said, there's still a case for !final.
I was thinking about ~final, but yes, we need some way to get out
of qualifiers like final, override, pure, nothrow, ...
More information about the Digitalmars-d
mailing list