A destructor of a class A is trivial if all the following are true: It is implicitly defined. All the direct base classes of A have trivial destructors . The classes of all the nonstatic data members of A have trivial destructors.
A destructor of a class A is trivial if all the following are true: It is implicitly defined. All the direct base classes of A have trivial destructors . The classes of all the nonstatic data members of A have trivial destructors.