typename1.c

来自「this is a gcc file, you can download it 」· C语言 代码 · 共 18 行

C
18
字号
// This code snippet should be rejected with -pedantic// Based on a test case by Louidor Erez <s3824888@techst02.technion.ac.il>// Build don't link:// Special g++ Options: -pedantic -Wno-deprecatedtemplate<class T>class Vector {public:  typedef T* iterator;};template<class T>void f(){  Vector<T>::iterator i = 0; // WARNING - missing typename}

⌨️ 快捷键说明

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