This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/32658] Supposedly illegal conversion compiles without errors
- From: "aribrei at arcor dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 7 Jul 2007 01:46:19 -0000
- Subject: [Bug c++/32658] Supposedly illegal conversion compiles without errors
- References: <bug-32658-11053@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from aribrei at arcor dot de 2007-07-07 01:46 -------
I don't have a copy of the standard at all, unfortunately, but I was referred
to [12.3.2/1 p.6]. If I understood correctly, the problem being that implicit
conversions shall not take place for the class or a base class of the type.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32658