Bitset类any函数运用

any

语法:

any()函数返回真如果有位被设置为1,否则返回假。

代码例子:

运行结果:

bs二进制有1
请按任意键继续. . .