This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/10243] typeof(expr) yields wrong result if expr has reference type
- From: "giovannibajo at libero dot it" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Dec 2005 21:53:13 -0000
- Subject: [Bug c++/10243] typeof(expr) yields wrong result if expr has reference type
- References: <bug-10243-5751@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #7 from giovannibajo at libero dot it 2005-12-24 21:53 -------
This is by design. It's out typeof() implementation works. It has pros and
cons. See this link (and followups) for papers about this.
http://gcc.gnu.org/ml/gcc/2005-01/msg01642.html
--
giovannibajo at libero dot it changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10243