This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]