Trivial Constructors

A constructor is considered trivial when all the following hold true:

* Its class has no virtual member functions and no virtual base classes.
* All the direct base classes of the constructor's class have trivial constructors.
* All the member objects in the constructor's class have trivial constructors.

Labels:


About this entry