Special member functions (C++ only)

The default constructor, destructor, copy constructor, and copy assignment operator are special member functions. These functions create, destroy, convert, initialize, and copy class objects, and are discussed in the following sections: