Empty base optimisation with multiple inheritance appears still to be broken in msvc++ 2010. Currently, it appears to only work for the first type derived from, so if you are de
Empty base optimisation with multiple inheritance appears still to be broken in msvc++ 2010
What do you mean by "broken"? That, it is not Standard conformant?
The Standard doesn't require empty classes to have zero size when deriving from them. An implementation may choose to optimize this or it may not at all.