This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/16037] Incorrect C++ template code compiles without error nor warning and can be exectuted
- From: "bangerth at dealii dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 Jun 2004 19:30:25 -0000
- Subject: [Bug c++/16037] Incorrect C++ template code compiles without error nor warning and can be exectuted
- References: <20040617184301.16037.militzer@gl.ciw.edu>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From bangerth at dealii dot org 2004-06-17 19:30 -------
Why not? BasicPoint has a conversion constructor that can take these
kinds of arguments. If you don't want it to be used, you have to make
it 'explicit'.
W.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16037