翻译单元中只能有任何变量,函数,类类型,枚举类型或模板的唯一定义。
No translation unit shall contain more than one definition of any variable, function, class type, enumeration type or template.
如果该列表是独占的(如在枚举数据类型中),则其他任何值都无效。
If the list is exclusive, such as in an enumeration data type, then no other values are valid.
以及任何基于符合CLS的基础整数类型的枚举类型。
And any enumeration type based on a CLS-compliant base integer type.
应用推荐