Espaces de noms
Variantes
Affichages
Actions

std::bitset::reference

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

 
 
 
std::bitset
Types de membres
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
Les fonctions membres
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!=
Elément d'accès
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
Capacité
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
Modificateurs
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)
Tiers fonctions
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>>
Classes d'aide
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 {
        friend class bitset;
        reference() noexcept;
      public:
        ~reference() noexcept;
        reference& operator=(bool x) noexcept;
        reference& operator=(const reference&) noexcept;
        bool operator~() const noexcept;
        operator bool() const noexcept;
        reference& flip() noexcept;
    };
  // ...
};
(Spécifications sont noexcept de (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.
La classe bitset comprend std::bitset::reference comme une classe imbriquée accessible au public. Cette classe est utilisée comme un objet proxy pour permettre aux utilisateurs d'interagir avec les bits individuels d'un bitset, depuis standards types C + + (comme références et des pointeurs) ne sont pas construits avec suffisamment de précision pour spécifier les bits individuels .
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.
La principale utilisation de std::bitset::reference est de fournir une l-value qui peut être retourné à partir opérateur [] .
Original:
The primary use of std::bitset::reference is to provide an l-value that can be returned from opérateur [].
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Tout lit ou écrit sur un bitset qui se produisent par l'intermédiaire d'un std::bitset::reference potentiellement lire ou écrire à l'ensemble du sous-jacent bitset .
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.

[modifier] Voir aussi

accède bit spécifique
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.

(fonction membre publique) [edit]