⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 spec21.c

📁 this is a gcc file, you can download it and learn its usetility, for further detail please look at t
💻 C
字号:
// Build don't link:template <class T> struct S {};template <class T = int> struct S<T*> {}; // ERROR - default argumenttemplate <int I, int J> struct A {};template <int I> struct A<I+5, I*2> {}; // ERROR - argument involves parametertemplate <class T, T t> struct C {};template <class T> struct C<T, 1>;  // ERROR - type depends on parameterint i;template <class T> struct C<T*, &i>; // ERROR - type depends on parametertemplate< int X, int (*array_ptr)[X] > class B {};int array[5];template< int X > class B<X,&array> { }; // ERROR - type depends on parameter

⌨️ 快捷键说明

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