pmf7.c
来自「this is a gcc file, you can download it 」· C语言 代码 · 共 28 行
C
28 行
// PRMS Id: 6486// Make sure that no confused handling of COND_EXPRs and SAVE_EXPRs messes// with the number of calls to foo.int c;struct A { void f () {} virtual void g () {}};A& foo (){ static A a; ++c; return a;}int main (){ void (A::*p)() = &A::f; (foo ().*p)(); p = &A::g; (foo ().*p)(); return 2 - c;}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?