Skip to main content

  | मौसम…

411 समाचार
Public archive edition · Attributed source reporting with original dates · AI drafts are excluded

411 REFERENCE · Wikibooks

C++ Language/Objects/UnwantedCompilerGeneratedFunctions

Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.

The compiler automatically generates several member functions, if the programmer hasn't manually programmed them (e.g., a default constructor). If you want to prevent the compiler from doing that, write that function's signature followed by = delete;. Additional information about compiler-generated functions