What is trivial destructor?

Trivial destructor The destructor for class T is trivial if all of the following is true: The destructor is not user-provided (meaning, it is either implicitly declared, or explicitly defined as defaulted on its first declaration) The destructor is not virtual (that is, the base class destructor is not virtual)

Sizin İçin Seçtik  What is a virtual destructor?

Leave a Reply

Your email address will not be published. Required fields are marked *