typeof4.c

来自「this is a gcc file, you can download it 」· C语言 代码 · 共 14 行

C
14
字号
// { dg-do compile }// { dg-options "" }// Origin: Wolfgang Bangerth <bangerth@ticam.utexas.edu>// PR c++/9459: typeof in return type of template functionvoid foo (int) {}void foo (double) {}template <typename C>typeof(foo(1))bar () { return foo(1); }

⌨️ 快捷键说明

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