Skip to content

Virtual table parsing #1890

Answered by tritao
Ilyasml asked this question in Q&A
Jan 20, 2025 · 10 comments · 31 replies
Discussion options

You must be logged in to vote

According to:

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).
  • All direct base classes have trivial destructors.
  • All non-static data members of class type (or array of class type) have trivial destructors.
  • A trivial destructor is a destructor that performs no action. Objects with trivial destructors don't require a delete-expression and may be disposed of by simply deallocating their storage. All data types compatible with the…

Replies: 10 comments 31 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@Ilyasml
Comment options

Comment options

You must be logged in to vote
6 replies
@tritao
Comment options

@Ilyasml
Comment options

@tritao
Comment options

@Ilyasml
Comment options

@Ilyasml
Comment options

Comment options

You must be logged in to vote
6 replies
@tritao
Comment options

@Ilyasml
Comment options

@Ilyasml
Comment options

@Ilyasml
Comment options

@Ilyasml
Comment options

Comment options

You must be logged in to vote
6 replies
@Ilyasml
Comment options

@Ilyasml
Comment options

@tritao
Comment options

@tritao
Comment options

@tritao
Comment options

Comment options

You must be logged in to vote
2 replies
@Ilyasml
Comment options

@Ilyasml
Comment options

Comment options

You must be logged in to vote
6 replies
@Ilyasml
Comment options

@Ilyasml
Comment options

@tritao
Comment options

@Ilyasml
Comment options

@tritao
Comment options

Answer selected by Ilyasml
Comment options

You must be logged in to vote
4 replies
@Ilyasml
Comment options

@tritao
Comment options

@Ilyasml
Comment options

@tritao
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants