阅读背景:

c++ enums有签名还是无签名?

来源:互联网 

Are C++ enums signed or unsigned? And by extension is it safe to validate an input by checking that it is <= your max value, and leave out >= your min value (assuming you started at 0 and incremented by 1)?Are C++ enums signed or unsigned? And by extens




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: