On 6/4/13 3:25 AM, Walter Bright wrote:
On 6/3/2013 10:58 PM, Andrei Alexandrescu wrote:
Unless fresh arguments, facts, or perspectives come about, I am
personally not
convinced, based on this thread so far, that we should operate a
language change.
One possibility is to introduce virtual as a storage class that
overrides final. Hence, one could write a class like:
class C {
final:
void foo();
void baz();
virtual int abc();
void def();
}
This would not break any existing code, and Manu would just need to get
into the habit of having "final:" as the first line in his classes.
This is generally good but I'd prefer a way to undo a storage class
instead of introducing two keywords for each.
Andrei