[Bug libstdc++/19544] Difference in behaviour if default constructor added

bangerth at dealii dot org gcc-bugzilla@gcc.gnu.org
Thu Jan 20 20:46:00 GMT 2005


------- Additional Comments From bangerth at dealii dot org  2005-01-20 20:46 -------
To be completely clear, the compiler generated default constructor is 
  ptr() : a(0) {} 
not 
  ptr() {} 
Thus, it _does_ initialize 'a'. 
 
W. 

-- 


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



More information about the Gcc-bugs mailing list