template22.c
来自「this is a gcc file, you can download it 」· C语言 代码 · 共 23 行
C
23 行
// GROUPS passed templatesextern "C" int printf (const char *, ...);template <class T>class Foo{public: void func (int const& i);};template <class T>void Foo<T>::func (int const& i){}int main (){ Foo<int const> foo; printf ("PASS\n"); return 0;}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?