linkage4.c
来自「this is a gcc file, you can download it 」· C语言 代码 · 共 12 行
C
12 行
// Build don't link:// Origin: Mark Mitchell <mark@codesourcery.com>static int strlen (const char*) { return 0; }template <int (*)(const char*)>void f () {}// Check that the strlen declaration here is given internal linkage by// using it as a non-type template argument, and expecting an error.template void f<strlen>(); // ERROR - no matching template
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?