Special member functions (C++ only)

Special member functions are used to create, destroy, initialize, convert, and copy class objects. These include the following:
  • Constructors
  • Destructors
  • Conversion constructors
  • Conversion functions
  • Copy constructors

For full descriptions of these functions, see Special member functions (C++ only).