c++ Programming Glossary: member1
What are Aggregates and PODs and how/why are they special? http://stackoverflow.com/questions/4178175/what-are-aggregates-and-pods-and-how-why-are-they-special defined constructor class Aggregate1 public NotAggregate1 member1 ok public member Aggregate1 operator Aggregate1 const rhs ok..
Initializing fields in constructor - initializer list vs constructor body http://stackoverflow.com/questions/9903248/initializing-fields-in-constructor-initializer-list-vs-constructor-body the difference between public Thing int _foo int _bar member1 _foo member2 _bar and public Thing int _foo int _bar member1.. _foo member2 _bar and public Thing int _foo int _bar member1 _foo member2 _bar I have a feeling that they do the same thing.. share improve this question They are not the same if member1 and member2 are non POD types public Thing int _foo int _bar..
|