| description |
Learn more about: <bitset> |
| title |
<bitset> |
| ms.date |
11/04/2016 |
| f1_keywords |
|
| helpviewer_keywords |
<bitset> header |
bitset header |
|
| ms.assetid |
af30a9b9-489e-46e3-9d29-5f3ea07ae6dc |
Defines the class template bitset and two supporting template functions for representing and manipulating fixed-size sequences of bits.
Header: <bitset>
Namespace: std
| Name |
Description |
| operator& |
Performs a bitwise AND between two bitsets. |
| operator<< |
Inserts a text representation of the bit sequence into the standard output stream. |
| operator>> |
Inserts a text representation of the bit sequence into the standard input stream. |
| operator^ |
Performs a bitwise EXCLUSIVE-OR between two bitsets. |
| [`operator |
`](../standard-library/bitset-operators.md#op_or) |
| Name |
Description |
| bitset |
The class template describes a type of object that stores a sequence consisting of a fixed number of bits that provide a compact way of keeping flags for a set of items or conditions. |
Header Files Reference
Thread Safety in the C++ Standard Library