Final by default?
captaindet
2krnk at gmx.net
Thu Mar 13 21:40:37 PDT 2014
On 2014-03-13 22:40, Daniel Murphy wrote:
> On the other hand,
>
> class C { virtual: ... }
>
> _does_ trivially bring back virtual-by-default.
is this all it takes? i mean, after switching to final-by-default, going through anybodies codebase and blindly adding virtual at the very beginning of each class definition reestablishes to 100% old behavior?
a regex s&r can probably do this. or a tiny tool. this is a step everyone can readily subscribe to. if it is that easy i don't see any grounds for a too-breaking-change argument.
/det
More information about the Digitalmars-d
mailing list