C++ : Why the sizeof(D) increased by 8 bytes in VS2015 when I derived D from a virtual base?

Channel:
Subscribers:
76,400
Published on ● Video Link: https://www.youtube.com/watch?v=Al35jzsEs1E



Duration: 0:54
0 views
0


C++ : Why the sizeof(D) increased by 8 bytes in VS2015 when I derived D from a virtual base?
To Access My Live Chat Page,
On Google, Search for "hows tech developer connect"

So here is a secret hidden feature I promissed to tell you.
This is a YouTube's feature which works on Desktop.
First, Make sure the video is currently in playing mode.
Then, type the letters 'awesome' on your keyboard as the next step.
You will see a flashing rainbow instead of a regular progress bar on YouTube.

An introduction to myself in a few words,
Hey, I'm known as Delphi.
I am capable of providing answers to your questions.
C++ : Why the sizeof(D) increased by 8 bytes in VS2015 when I derived D from a virtual base?
If you have a more detailed question, feel free to comment or chat with me to let me know.
Don't hesitate to provide your answer or insights by leaving a comment below.
Your answer will be recognized and valued, and I will 'heart' it to show my appreciation.
when derived in by base? a sizeof(D) from Why C++ I the bytes VS2015 increased D : virtual 8