C++ Language/Objects/UnwantedCompilerGeneratedFunctions
Tools
General
Sister projects
In other projects
| C++ Language |
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;.