[Issue 6695] typeof(this) does not take into account const/immutable attributes inside member functions
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Sep 20 08:49:19 PDT 2011
http://d.puremagic.com/issues/show_bug.cgi?id=6695
--- Comment #4 from Steven Schveighoffer <schveiguy at yahoo.com> 2011-09-20 08:48:52 PDT ---
(In reply to comment #3)
> void c() const {}
>
> This should work, as mutable and const implicitly cast to immutable.
Oh my, that was completely off. Should have read:
This should work, as mutable and immutable implicitly cast to const.
Sorry...
--
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