std::array::at
Da cppreference.com.
![]() |
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 at( size_type pos ); |
(dal C++11) | |
const_reference at( size_type pos ) const; |
(dal C++11) | |
Restituisce un riferimento per l'elemento in
pos
posizione specificata. Limiti di controllo viene effettuata, ad eccezione di std::out_of_range tipo saranno gettati in materia di accesso non valido.Original:
Returns a reference to the element at specified location
pos
. Bounds checking is performed, exception of type std::out_of_range will be thrown on invalid access.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.
Indice |
[modifica] Parametri
pos | - | posizione dell'elemento di ritornare
Original: position of the element to return The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
[modifica] Valore di ritorno
riferimento per l'elemento richiesto
Original:
reference to the requested element
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] Eccezioni
std::out_of_range if !(pos < size()).
[modifica] Complessità
Constant
Original:
Constant
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] Vedi anche
accedere elemento specificato Original: access specified element The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (metodo pubblico) |