cpp/utility/bitset

来自cppreference.com
< cpp
跳转到: 导航, 搜索

目录

[编辑] std::bitset

定义于头文件<bitset>中


template< size_t N > class bitset;


模板类bitset用于表示一个固定大小的比特序列。bitset对象可以使用逻辑运算符进行操作。同时,可以通过字符串或者整数转化成bitset对象。

[编辑] 成员类

reference

[编辑] 成员函数

(constructor)


operator== operator!=

[编辑] 元素访问

operator[]


test


all any none


count

计算容量


size

修改操作


operator$=

个人工具
名字空间
操作
导航
工具箱