[Bug c++/12323] Constructor accepts wrong argument type silently
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Thu Sep 18 06:56:00 GMT 2003
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12323
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |RESOLVED
Resolution| |INVALID
------- Additional Comments From pinskia at gcc dot gnu dot org 2003-09-18 06:16 -------
GCC Accepts it as Bar<Baz>'s constructor accepts Baz so the conversion between Baz and
Bar<Baz> is done and calls Bar<Baz>::Bar(Baz).
More information about the Gcc-bugs
mailing list