[Issue 1918] __traits(getVirtualFunctions) returns final functions

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Jan 22 00:02:00 PST 2012


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


yebblies <yebblies at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |yebblies at gmail.com


--- Comment #5 from yebblies <yebblies at gmail.com> 2012-01-22 19:01:55 EST ---
(In reply to comment #3)
> Could you please explain how a final function that doesn't override anything is
> ever supposed to be virtual?

Final functions can be seen as the end of a chain of overridden functions -
even if the functions is also the first in the chain and therefore never uses
virtual dispatch.  Either definition could be useful so having both available
is probably the best solution.

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