[Issue 3282] The overload and override issue of const/immutable member functions

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Jan 22 00:37:38 PST 2010


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


Rainer Schuetze <r.sagitario at gmx.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |r.sagitario at gmx.de


--- Comment #2 from Rainer Schuetze <r.sagitario at gmx.de> 2010-01-22 00:37:37 PST ---
This kind of works now with changeset 344. But both "f()" and "f() const"
overload "f()" in the base class, and the last one wins. I think dmd should
either issue an error or add another entry to the vtbl for the non-exact but
covariant match.

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