[Issue 4542] [tdpl] TDPL NVI example results in linker error

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Oct 20 06:35:51 PDT 2012


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


Jacob Carlborg <doob at me.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |doob at me.com


--- Comment #14 from Jacob Carlborg <doob at me.com> 2012-10-20 06:35:47 PDT ---
(In reply to comment #13)

> Of course you'd have to fix your code and add 'virtual' to base methods, but
> this is practically an error-free refactoring since 'override' was already
> required. You would get CT errors rather than weird runtime behavior (like
> C++03).

It's really not. You can have a class that someone else inherits from, which
you don't control.

-- 
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