   Overhead
  I was wondering, is there any overhead in having a class inherited from an empty class?... and from a class without virtual members?Thanks 
  This is compiler (and sometimes compiler setting) dependent. ;  I use VC .net... does it generate any overhead? ;  its probably in the documentation ;  inheriting from an empty class: only on any virtual functions you might pick up, and those only in the case that they''re used via a base pointer (aka, BaseTypePtr->Function() will have the unavoidable virutal function overhead, but DerviedType.Function() won''t - on any sane compiler, anyways)Oh, and a 4 byte overhead on dumb compilers (not on VC.net)Shouldn''t be any overhead on inheriting a virtual-less base class. 