nested1.c

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

C
13
字号
// Bug: g++ can't deal with function-local classes that talk about themselves.// Build don't link:void foo() {  class Wrapper {  public:    void F (void * Wrapperptr)    {      Wrapper * wrapptr = (  Wrapper  *) Wrapperptr; // gets bogus error     }  };}

⌨️ 快捷键说明

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