<bitset>
Defines the class template bitset and two supporting template functions for representing and manipulating fixed-size sequences of bits.
Requirements
Header: <bitset>
Namespace: std
Members
Operators
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| |
Performs a bitwise OR between two bitsets. |
Classes
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. |
See also
Header Files Reference
Thread Safety in the C++ Standard Library
Tilbakemeldinger
https://aka.ms/ContentUserFeedback.
Kommer snart: Gjennom 2024 faser vi ut GitHub Issues som tilbakemeldingsmekanisme for innhold, og erstatter det med et nytt system for tilbakemeldinger. Hvis du vil ha mer informasjon, kan du se:Send inn og vis tilbakemelding for