linux下编程用 编译软件

源代码在线查看: template15.c

软件大小: 49607 K
上传用户: IsABC
关键词: linux 编程 编译 软件
下载地址: 免注册下载 普通下载 VIP

相关代码

				// { dg-do assemble  }				// GROUPS passed templates				template class Stack {				  public:				    Stack (int s = 10);         //Comment out "= 10" and it will compile				    ~Stack(void);               //Omitting "void" doesn't help				}; 								template Stack::~Stack(void) 				{ }								//If this definition comes before the one for ~Stack, the error message				//about redeclaration of `void Stack::~Stack()' will not occur.				template Stack::Stack(int s)				{ }								int main () {				    Stack stk(10);				}							

相关资源