devxlogo

June 12, 2008

Change the Rules of C++ with Defaulted Functions

rogrammers have little control over the implicit declarations of the four canonical member functions. The compiler will not generate a default constructor for a class that has a user-declared copy-constructor.