Skip to main content

C0503​

枚举列表里,一个隐式指定的枚举常量的值应是唯一的​

Category: Required

Decidability: Decidable

Scope: Single Translation Unit

依据​

一个隐式指定的枚举常量的值比它前面一个常量的值大1。如果列表里第一个枚举常量是隐式指定的,则其值为0。

登录查看完整文章