[Bug c++/14779] [3.3 Regression] the copy constructor for a templatized class is not used in array initialization unless the constructor was previously referenced

bangerth at dealii dot org gcc-bugzilla@gcc.gnu.org
Thu Apr 1 14:00:00 GMT 2004


------- Additional Comments From bangerth at dealii dot org  2004-04-01 14:00 -------
BTW: just as with 12883, the testcase above only fails with 
unspecified array bounds. If I change them to  
  const X<S> pba[1] = { X<S> () };  // array bounds specified 
then everything is fine. 
 
W. 
  

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14779



More information about the Gcc-bugs mailing list