[Bug c++/16037] Incorrect C++ template code compiles without error nor warning and can be exectuted

bangerth at dealii dot org gcc-bugzilla@gcc.gnu.org
Thu Jun 17 19:30:00 GMT 2004


------- 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



More information about the Gcc-bugs mailing list