friend4.c

来自「gcc-you can use this code to learn somet」· C语言 代码 · 共 7 行

C
7
字号
// Build don't link: // GROUPS passed friends// do_friend should complain that foo was declared as a friend of// A before A was definedstruct A;struct B { friend A::foo (); };// ERROR - .*

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?