typename13.c
来自「this is a gcc file, you can download it 」· C语言 代码 · 共 38 行
C
38 行
// Build don't link:// Special g++ Options:// excess errors test - XFAIL *-*-*template <class T>struct B { typedef int I;};template <class T>struct D : public B<T>{ void f();};template <class T>void D<T>::f(){ I();}template <>struct B<int> { void I();};int main(){ D<int> di; di.f();}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?