std::bitset::reference
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. |
template<size_t N>class bitset {// ...public:class reference {friendclass bitset; reference()noexcept;public: ~reference()noexcept; reference& operator=(bool x)noexcept; reference& operator=(const reference&)noexcept;bool operator~()constnoexcept; operator bool()constnoexcept; reference& flip()noexcept;};// ...};
(Specifiche noexcept sono da (C++11))
Original:
(noexcept specifications are from (C++11))
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.
La classe comprende bitset std::bitset::reference come classe pubblicamente accessibile nidificato. Questa classe viene utilizzata come un oggetto proxy per consentire agli utenti di interagire con i singoli bit di una bitset, in quanto standard di C + + (come i tipi di riferimenti e puntatori) non sono costruite con precisione sufficiente per specificare i singoli bit.
Original:
The bitset class includes std::bitset::reference as a publicly-accessible nested class. This class is used as a proxy object to allow users to interact with individual bits of a bitset, since standard C++ types (like references and pointers) are not built with enough precision to specify individual bits.
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.
L'uso primario di std::bitset::reference è fornire un l-valore che può essere restituito da operatore [].
Original:
The primary use of std::bitset::reference is to provide an l-value that can be returned from operatore [].
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.
Qualsiasi legge o scrive in un bitset che accada attraverso un std::bitset::reference potenzialmente leggere o scrivere l'intera bitset sottostante.
Original:
Any reads or writes to a bitset that happen via a std::bitset::reference potentially read or write to the entire underlying bitset.
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.
[modifica]Vedi anche
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) |