non-dependent3.c

来自「linux下编程用 编译软件」· C语言 代码 · 共 16 行

C
16
字号
//PR c++/11071// Used to ICE// Origin: bangerth@dealii.org and rwgk@yahoo.comtemplate <bool b> struct X {    template <typename T>    static int* execute(T* x) { return x; }};template <typename T> void foo() {  static bool const same = true;  X<same>::execute ((int*)0);}template void foo<int> ();

⌨️ 快捷键说明

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