This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/49369] typeof() strips const from member when used in const method
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 10 Jun 2011 21:12:10 +0000
- Subject: [Bug c++/49369] typeof() strips const from member when used in const method
- Auto-submitted: auto-generated
- References: <bug-49369-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49369
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jason at gcc dot gnu.org
--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-06-10 21:11:53 UTC ---
(In reply to comment #2)
> (In reply to comment #1)
> > can you use typeof(this->B::member) instead?
>
> Yes this works for my application, thanks for the suggestion. Surely this is
> still a bug though correct?
I think so, but I'm not sure which is why I left it UNCONFIRMED
Jason?