[Issue 3282] The overload and override issue of const/immutable member functions
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Jan 23 16:37:48 PST 2012
http://d.puremagic.com/issues/show_bug.cgi?id=3282
timon.gehr at gmx.ch changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|INVALID |
--- Comment #7 from timon.gehr at gmx.ch 2012-01-23 16:37:46 PST ---
If so, why is this code accepted?
class A{
void f(int){}
}
class B: A{
override void f(int){}
void f(immutable int){}
void f(shared int){}
}
What is the point of deliberately treating the hidden this pointer special
regarding overloading?
--
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