http://d.puremagic.com/issues/show_bug.cgi?id=7726



--- Comment #3 from Piotr Szturmaj <psztur...@tlen.pl> 2012-03-19 05:08:26 PDT 
---
You can tag individual members with public/private and final. final: and final
{ } are just for convenience.

You can also try something like this:

{
    void virtualMethod() {}

private:
    int privateMember;

public final:
    void finalMethod() { } // public
}

I guess you are opting for virtual: keyword to just disable existing final:
specifier. There are other possible solutions without adding a new keyword:

- Use default: to restore public and virtual.
- Use negation, like !final: to disable specifiers that differ from public and
virtual.

But I'm ok with current approach.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to