摘要:
Determining the Size of a Class ObjectBy Girish ShettyThere are many factors that decide the size of an object of a class in C++. These factors are:Size of all non-static data membersOrder of data membersByte alignment or byte paddingSize of its immediate base classThe existence of virtual function( 阅读全文
posted @ 2011-02-25 16:33
peterxiang
阅读(383)
评论(0)
推荐(0)
浙公网安备 33010602011771号