spec26.c
来自「this is a gcc file, you can download it 」· C语言 代码 · 共 12 行
C
12 行
// From: lat@iki.fi (Lassi A. Tuura)// Test that a specialization without an initializer is not a definition,// as specified in [temp.expl.spec].// Build don't link:struct X;template <class T> struct Y { static const X array[]; };template <> const X Y<int>::array [];struct X { int i; };template <> const X Y<int>::array [] = { 0, 1, 2, 3 };
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?