AI Features

Request and Suppress Methods

This lesson highlights the special methods supported by the compiler.

Special methods

Since C++11, there has been a list of special methods that the compiler can generate implicitly if we have not defined them:

  • Default constructors and destructors.

  • Copy/move constructors and copy/move assignment operators.

  • new and delete ...