列出不是常量的参数成员
参数被传递到一个特性,但此特性需要一个常量,即一个在编译时可计算出结果的值。
示例
下面的示例生成 C3452。
// C3452.cpp
// compile with: /c
int i;
[module( name="mod", type=dll, custom={i} ) ]; // C3452
// try the following line instead
// [module( name="mod", type=dll, custom={"a"} ) ];