class foo : int { public: foo(int ni) { int::operator=(ni); } void TimesTwo() { int::operator*=(2); } };