struct Enum{ enum{ One = 1, Two, Last }; }; struct EnumDeriv : public Enum{ enum{Three = Enum::Last,Four,Five}; };