?? 900127_01.c
字號(hào):
// g++ 1.36.1 bug 900127_01// g++ often fails to detect (and issue errors for) ambiguous overload// situations. In such cases, one of the possibilities is chosen// (apparently arbitrarily). Errors should be issued instead.// Cfront 2.0 passes this test.// keywords: function overloading, ambiguityvoid foo (int);int foo (void);typedef int (*f_ptr_t1) (void);typedef void (*f_ptr_t2) (int);void bar (f_ptr_t1); // ERROR - void bar (f_ptr_t2); // ERROR - void function (){ bar (foo); // ERROR - ambiguous}int main () { return 0; }
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -