沒有意義的類?事實上STL中的函數(shù)對象就是通過這種方式實現(xiàn)的@笨笨
re: 空結構體(類對于C++)的大小 dawnless 2011-04-14 13:08
這個問題thinking in c++提到過.
One of the fundamental rules of objects is that each object must have a unique address, so structures with no data members will always have some minimum nonzero size.