摘要:
compiler warning (level 1) C4482warning description:使用了非标准扩展: 限定名中使用了枚举“enum”当引用类型内的枚举时,无需指定枚举的名称。文件范围的枚举定义相当于常量,也不需要限定名。example: C4482(MS Visual Studio)// C4482.cpp// compile with: /c /W1struct S { enum E { a };};int i = S::E::a; // C4482int j = S::a; // OKNOTE:warring C4482: nonstandard extensio.. 阅读全文
posted @ 2013-04-16 14:31
赤色
阅读(1313)
评论(0)
推荐(0)

浙公网安备 33010602011771号