This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/13478] gcc uses wrong constructor to initialize a const reference
- 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 2003 02:40:11 -0000
- Subject: [Bug c++/13478] gcc uses wrong constructor to initialize a const reference
- References: <20031223143303.13478.erich_guenther@hotmail.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From giovannibajo at libero dot it 2003-12-24 02:40 -------
That's not a variable, it's a reference. GCC should not call any constructor
when binding the variable to that reference.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |UNCONFIRMED
Resolution|INVALID |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13478