Dear @Abbas,
The following code:
class Person
{
public:
~Person()
{
cout << "destructor" << endl;
}
Person(const Person&) = delete;
Person& operator=(const Person&) = delete;
Person(Person&&) = delete;
Person& operator=(Person&&) = delete;
};
raises
cpp:S4963 Remove this class’ destructor so that the class follows the rule of zero.