23 points · by tbabb · 5y ago · 2 comments
Tim Babb (@tr_babb) on X
But: class P { int _p[0]; }; class Q : P { int _q[0]; } sizeof(P) == 0; sizeof(Q) == 0;
X (formerly Twitter)