nest13.c

来自「gcc3.2.1源代码」· C语言 代码 · 共 21 行

C
21
字号
// Build don't link: // GROUPS passed nested-classes// The bug here is that wer'e getting a message about inner not// being a basetype itself.  I think it's because it's being// compared as the "inner" we knew about when it was forward-declared,// versus the "inner" we know about when it *has* been defined.class temp{public:        struct inner;        inner *trump()        {                return (tt);        }        struct inner        {                int ll;        }*tt;};

⌨️ 快捷键说明

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