[Issue 7726] 'virtual' keyword please
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Mar 19 04:09:34 PDT 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7726
--- Comment #2 from Manu <turkeyman at gmail.com> 2012-03-19 04:09:50 PDT ---
Then I can't use private:, since that suffers from the same problem of not
having a corresponding 'public'.
{
[public virtual methods]
private:
[data members]
final:
[non-virtual methods] // are now private
}
{
[public virtual methods]
final:
[non-virtual methods]
private:
[data members] // error because of the 'final:' bug
}
This all leads to messy, and rather difficult to follow classes. I like to keep
associated stuff together.
I also really like the virtual keyword, it states in the API clearly how to
extend the class, and you can grep for it.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list