Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Struct packing
//Microsoft (R) C/C++ Optimizing Compiler Version 19.00.23506 for x64 #include <iostream> struct MyStruct { int* pA; bool bB; int* pC; bool bD; }; struct MyStructPacked { int* pA; int* pC; bool bB; bool bD; }; int main() { std::cout << sizeof(MyStruct) << std::endl; std::cout << sizeof(MyStructPacked) << std::endl; }
run
|
edit
|
history
|
help
-1
Redeclare with auto
Program of cube
cv2
karma legacy "variant" with attr_cast
Hangman
asock
Templatized Visitor Pattern Example
3 sayinin toplami
MSVCStatic
7