没有意义的类?事实上STL中的函数对象就是通过这种方式实现的@笨笨
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.