std::reference_wrapper::reference_wrapper
Aus cppreference.com
<metanoindex/>
<tbody> </tbody> reference_wrapper( T& x ); |
(seit C++11) | |
reference_wrapper( T&& x ) = delete; |
(seit C++11) | |
reference_wrapper( const reference_wrapper<T>& other ); |
(seit C++11) | |
Erzeugt ein neues Referenz-Wrapper .
Original:
Constructs a new reference wrapper.
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.
1)
Speichert einen Verweis auf
x .Original:
Stores a reference to
x.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.
2)
Konstruktion aus einem temporären Objekten ist nicht erlaubt .
Original:
Construction from a temporary objects is not allowed.
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.
3)
Kopieren Konstruktor. Speichert einen Verweis auf
other.get() .Original:
Copy constructor. Stores a reference to
other.get().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.
Parameter
| x | - | ein Objekt zu wickeln
Original: an object to wrap The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
| other | - | weitere Referenz Wrapper
Original: another reference wrapper The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
