📄 ptrmem4.c
字号:
// Bug: This checks that the pointer-to-member-function type is not// shared between differently-qualified pointer-to-method types.// { dg-do compile }struct A{ void f () {}};void (A::*const cp)() = &A::f;int main (){ void (A::* p)(); void (A::** ip)() = &p; *ip = &A::f;}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -