overload14.c

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

C
11
字号
// Bug: g++ fails to recognize that the template matches the target type.// Build don't link:template <class T> void foo (T *, int);struct A;void bar (){  void (*p)(A *, int) = &foo;}

⌨️ 快捷键说明

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