class CKernelInterrupt { public: static void Timer0Int () {}; }; void main () { unsigned addr = (unsigned) &CKernelInterrupt::Timer0Int; }