Namensräume
Varianten
Aktionen

std::bitset::operator[]

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)
 
bool operator[]( std::size_t pos ) const;
constexpr bool operator[]( std::size_t pos ) const;
(1) (bis C + +11)
(seit C++11)
reference operator[]( std::size_t pos );
(2)
Greift auf das Bit an Position pos. Die erste Version gibt den Wert des Bits, gibt die zweite Version ein Objekt vom Typ std::bitset::reference die Änderung des Wertes ermöglicht .
Original:
Accesses the bit at position pos. The first version returns the value of the bit, the second version returns an object of type std::bitset::reference that allows modification of the value.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Im Gegensatz zu test(), nicht werfen Ausnahmen: das Verhalten ist undefiniert, wenn pos außerhalb der Grenzen .
Original:
Unlike test(), does not throw exceptions: the behavior is undefined if pos is out of bounds.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click