http://d.puremagic.com/issues/show_bug.cgi?id=3810
Summary: overloading on const does not work for methods Product: D Version: unspecified Platform: Other OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: and...@metalanguage.com --- Comment #0 from Andrei Alexandrescu <and...@metalanguage.com> 2010-02-17 21:15:00 PST --- struct A { void fun() {} void fun() const {} T gun(T)() {} T gun(T)() const {} } void main() { A a; const A b; a.fun(); b.fun(); a.gun!int(); b.gun!int(); } The code should work. It does for fun() but not fur gun(). -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------