conversion11.c

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

C
27
字号
// PRMS Id: 8805// Bug: The two-level conversion is not found when calling a global fn.class Int {public:  Int(int A);};class Ding {public:  Ding(Int A);};class Something {public:  void DoSomething(Ding A);	// ERROR - referred to};void DoSomething(Ding A);void foo(Something* pX){  DoSomething(1);		// ERROR -   pX->DoSomething(1);		// ERROR -   (*pX).DoSomething(1);		// ERROR - }

⌨️ 快捷键说明

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