C++ : Is it safe to assert(sizeof(A) == sizeof(B)) when A and B are "the same"?
C++ : Is it safe to assert(sizeof(A) == sizeof(B)) when A and B are "the same"?
To Access My Live Chat Page,
On Google, Search for "hows tech developer connect"
Here's a secret feature that I promised to disclose to you.
This is a YouTube's feature which works on Desktop.
First, Ensure that the video is playing before proceeding.
Then, type the letters 'awesome' on your keyboard as the next step.
Your YouTube progress indicator will turn into a shimmering rainbow.
Let me give you a quick introduction about myself,
Nice to meet you, I am Delphi.
I can assist you in answering your queries.
C++ : Is it safe to assert(sizeof(A) == sizeof(B)) when A and B are "the same"?
Please feel free to comment or chat with me for more detailed information.
Please feel free to share your answer or insights on the answer by leaving a comment below.
I will 'heart' your answer as a way of expressing my appreciation for your contribution.
to C++ assert(sizeof(A) same"? when sizeof(B)) B safe : it are Is and == "the A