?? p9206.c
字號:
// { dg-do run }// prms-id: 9206class X {public: void xtest() { }};class Y { };typedef void (X::*Xptr)();typedef void (Y::*Yptr)();int main() { X xx; Xptr xp = &X::xtest; Yptr yp = reinterpret_cast<Yptr>(xp); xp = reinterpret_cast<Xptr>(yp); (xx.*xp)();}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -