📄 template21.c
字号:
// { dg-do assemble }// GROUPS passed templatestemplate<class T>class L {public: L(); T x[30]; int doit(int i) const;};#ifdef BUGtemplate<class T>intL<T>::doit(int i) const{ return x[i].z;}#endifclass X {public: class Y { public: Y(); Y(int); int z; }; L<Y> ly;};#ifndef BUGtemplate<class T>intL<T>::doit(int i) const{ return x[i].z;}#endifstatic X x;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -