p807.c

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

C
35
字号
// prms-id: 807extern "C" int printf(const char*, ...);class B;class AX{ protected:   int x; public:   operator B();};class B{ private:   int x; public:   B(const AX&);};int foo(B& b);			// ERROR - referenced belowint main(){   AX a;   foo(a);  // ERROR - Ambiguous B(a) or a.operator B()  //  See ARM 12.3.2}

⌨️ 快捷键说明

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