+ 6
Why with virtual inheritance size more? I. 've thought it on the contrary.
Example code here, class D has virtual inheritance, C not. Sizeof C=16, I understand, but sizeof D 20, why? https://code.sololearn.com/chyDp6YY77lj/?ref=app
0 Respuestas
Example code here, class D has virtual inheritance, C not. Sizeof C=16, I understand, but sizeof D 20, why? https://code.sololearn.com/chyDp6YY77lj/?ref=app