📄 typename1.c
字号:
// 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -