Request and Suppress Methods
This lesson highlights the special methods supported by the compiler.
We'll cover the following...
We'll cover the following...
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
anddelete
operators for objects and C arrays of objects. -
The
default
anddelete
...