c++ delete default constructor code example Example: c++ default constructor remove class A { public: A() = delete; };