Exists some differences between a constructor or destructor be virtual or not? In this case, what should be done
class A {
public:
A();
~A();
}
or
class A {
public:
virtual A();
virtual ~A();
}
Have isocpp fot this case?
Thanks...
Aucun commentaire:
Enregistrer un commentaire