xml大全 可读写调用率很高 xml大全 可读写调用率很高

源代码在线查看: constant4.c

软件大小: 34923 K
上传用户: chengshengwu123
关键词: xml 读写
下载地址: 免注册下载 普通下载 VIP

相关代码

				// { dg-do compile }								// Copyright (C) 2003 Free Software Foundation, Inc.				// Contributed by Nathan Sidwell 31 Jul 2003 								// PR c++/11525 incorrect error about non-constant initalizer								template class X;				template class Y {};												template				void Foo ()				{				  static const unsigned I = X::I;				  				  Y i;				  				  static const unsigned J = X::J;				  				  Y j; // { dg-error "non-constant" "" }				}								struct A 				{				  operator unsigned () const;				};								template  struct X 				{				  enum {I};				  static A const J;				};								void Baz ()				{				  Foo (); // { dg-error "instantiated" "" }				}								  							

相关资源