Object identity requires distinct objects to have distinct addresses, so an empty class occupies at least one byte and sizeof returns 1. A vtable pointer appears only when the class has virtual functions, so no hidden pointer exists here. The empty base optimisation can still make an empty base class consume zero bytes inside a derived object.