size
语法:
1 |
?? size_t size(); |
size()返回bitset能容纳的位。
1 2 3 4 5 |
//源代码 /// Returns the total number of bits. size_t size() const { return _Nb; } |
测试代码:
测试结果:
8
9
请按任意键继续. . .
size
语法:
1 |
?? size_t size(); |
size()返回bitset能容纳的位。
1 2 3 4 5 |
//源代码 /// Returns the total number of bits. size_t size() const { return _Nb; } |
测试代码:
测试结果:
8
9
请按任意键继续. . .