[Issue 10150] Prefix method 'this' qualifiers should be just ignored anytime
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Jun 27 11:28:35 PDT 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10150
--- Comment #5 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2013-06-27 11:28:34 PDT ---
Another alternative is to make the compiler smarter, and only disallow const
where it's only applied to one function, for example:
-----
const int * foo(); // disallowed
const
{
int * foo(); // ok
int * bar(); // ok
}
const:
int * foo(); // ok
-----
This would be for the sake of convenience, to avoid breaking existing code.
--
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