在常量表达式,比如枚举型常量、位域的宽度或是静态变量的初始值,是不允许使用在这种声明中的。
Embedded statements are not allowed in constant expressions, such as the value of an enumeration constant, the width of a bit-field, or the initial value of a static variable.
枚举也可以与集合结合使用,而且非常像新的enummap构造,Tiger提供了一套新的EnumSet实现,允许您使用位操作符。
Enums can also be used in conjunction with sets, and much like the new EnumMap construct, Tiger supplies a new set implementation EnumSet that allows you to work with bitwise operators.
最终的结果是一个控件,提供了一个枚举类型或位作为一个运行组产生的按钮设定时间。
The final result is a control that presents an enum type, or a bit-set as a group of run-time generated buttons.
他在篮球职业生涯中创造了刷屏般无可枚举的纪录,是公认的全世界最棒的篮球运动员,也是NBA历史上第一位拥有“世纪运动员”称号的巨星。
In his basketball occupation career created just like enumerable record, is recognized as the worlds best basketball player, is a NBA history first to have "athlete of the century" title.
虽然他是一位步调快,要求高的人,但是我从他身上学到了许多东西,如组织技巧,行业知识,商业智慧,专业精神以及诚实正直的品质等,实在不胜枚举。
The pace was fast and he was demanding, but I learned a great deal from him-organizational skills, industry knowledge, business acumen, professionalism and integrity, to name a few.
此属性表明枚举可以作为位域处理,即一组标志。
This attribute indicates that the enum can be treated as a bit field; that is, a set of flags.
若没有这个值,一些编译器将允许这个枚举以非32位的方式编译。
Without this value, some compilers would allow this enumeration to compile to a size other than 32 bits.
若没有这个值,一些编译器将允许这个枚举以非32位的方式编译。
Without this value, some compilers would allow this enumeration to compile to a size other than 32 bits.
应用推荐