Namensräume
Varianten

std::bitset::reference

Aus cppreference.com
< cpp‎ | utility‎ | bitset

 
 
 
std::bitset
Mitglied Typen
Original:
Member types
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
bitset::reference
Member-Funktionen
Original:
Member functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
bitset::bitset
bitset::operator==
bitset::operator!=
Elementzugriff zerstört
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.
bitset::operator[]
bitset::test
bitset::all
bitset::any
bitset::none
(C++11)

 
bitset::count
Kapazität
Original:
Capacity
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
bitset::size
Modifiers
Original:
Modifiers
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
bitset::operator&=
bitset::operator|=
bitset::operator^=
bitset::operator~
bitset::operator<<=
bitset::operator>>=
bitset::operator<<
bitset::operator>>
bitset::set
bitset::reset
bitset::flip
Conversions
Original:
Conversions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
bitset::to_string
bitset::to_ulong
bitset::to_ullong(C++11)
Non-Member-Funktionen
Original:
Non-member functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
operator&
operator|
operator^
operator<<
operator>>
Helper-Klassen
Original:
Helper classes
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
std::hash(C++11)
 
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;};// ...};
(noexcept Spezifikationen sind von (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.
Die bitset Klasse umfasst std::bitset::reference als öffentlich zugängliche geschachtelten Klasse. Diese Klasse wird als Proxy-Objekt verwendet, damit Benutzer mit einzelnen Bits eines bitset interagieren, da Standard-C + +-Typen (wie Referenzen und Zeigern) nicht präzise genug, um einzelne Bits angeben, gebaut werden .
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.
Der primäre Einsatz von std::bitset::reference ist es, ein l-Wert, der aus operator [ zurückgegeben werden können] bieten .
Original:
The primary use of std::bitset::reference is to provide an l-value that can be returned from operator [].
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Jeder liest oder schreibt eine bitset, die über eine std::bitset::reference passieren potenziell gelesen oder auf die gesamte zugrunde liegende bitset schreiben .
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.

[Bearbeiten]Siehe auch

greift bestimmtes 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.

(öffentliche Elementfunktion)[edit]
close