template1.c
来自「gcc3.2.1源代码」· C语言 代码 · 共 17 行
C
17 行
// Build don't link:// Copyright (C) 1999 Free Software Foundation// by Alexandre Oliva <oliva@dcc.unicamp.br>// based on bug report by Stefan Wetzel <Stefan_Wetzel@Physik.TU-Muenchen.DE>// crash test - XFAIL *-*-*template<int P = 0> struct foo { static void bar(double (*)[dim]) {} // ERROR - dim not declared};void bar() { foo<>::bar(0); // ERROR - instantiated from here}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?