February 26th, 2013, 8:11 pm
QuoteOriginally posted by: edouardI am trying out ideas from Professional C++, By Marc Gregoire, Nicholas A. Solter, Scott J. Kleper (books.google)The authors explain that C++11 supports the concept of explicitly defaulted constructors. It avoids to write empty default constructors manually. And, they add there is no need of class implemenration in the implementation file.The example code below is given (as can been freely read at books.google).(maybe I got it all wrong )Alternatively, one can read the explanation here, paragraph "C++11 Explicitly Defaulted Constructors"