std::reference_wrapper::reference_wrapper
Da cppreference.com.
< cpp | utility | functional | reference wrapper
![]() |
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. |
reference_wrapper( T& x ); |
(dal C++11) | |
reference_wrapper( T&& x ) = delete; |
(dal C++11) | |
reference_wrapper( const reference_wrapper<T>& other ); |
(dal C++11) | |
Costruisce un nuovo wrapper di riferimento.
1) 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.
Archivia un riferimento al
2) 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.
Costruzione di un oggetto temporaneo non è consentito.
3) 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.
Copia costruttore. Archivia un riferimento al
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.
[modifica] Parametri
x | - | un oggetto da avvolgere
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 | - | un altro riferimento 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. |