std::bitset
Da cppreference.com.
|
|
Questa pagina è stata tradotta in modo automatico dalla versione in ineglese della wiki usando Google Translate.
La traduzione potrebbe contenere errori e termini strani. Muovi il puntatore sopra al testo per vedere la versione originale. Puoi aiutarci a correggere gli gli errori. Per ulteriori istruzioni clicca qui. |
| Elemento definito nell'header <bitset>
|
||
template< size_t N > class bitset; |
||
The class template bitset represents a fixed-size sequence of bits. Bitsets can be manipulated by usual logic operators, converted to and from strings and integers.
bitset soddisfa i requisiti della CopyConstructible e CopyAssignable.Original:
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
Membri tipi
| proxy class representing a reference to a bit (classe) | |
Membri funzioni
costruisce il bitset Original: constructs the bitset The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (metodo pubblico) | |
confronta il contenuto Original: compares the contents The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (metodo pubblico) | |
Original: Element access The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. | |
accede specifico bit Original: accesses specific bit The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (metodo pubblico) | |
accede specifico bit Original: accesses specific bit The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (metodo pubblico) | |
(C++11) |
controlla se tutti, alcuni o nessuno bit sono impostati su true Original: checks if all, any or none bits are set to true The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (metodo pubblico) |
restituisce il numero di bit impostati a trueOriginal: returns the number of bits set to trueThe text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click | |