📄 spec11.c
字号:
// { dg-do compile }// Origin: jhbrown@bluefinrobotics.com// PR c++/13635: ICE explicit specialization of member function templatetemplate <class foo>class bar {public: template <class baz> int func(baz *x);};template <>template <class baz>int bar<double>::func(baz *x) { return 5;}template <>template <>int bar<double>::func(int *x) { return 5;}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -