std::array::data
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. |
T* data(); |
(dal C++11) | |
const T* data() const; |
(dal C++11) | |
Restituisce il puntatore alla matrice sottostante che funge da elemento di memoria. Il puntatore è tale che
[data(); data() + size())
intervallo è sempre un intervallo valido, anche se il contenitore è vuoto.Original:
Returns pointer to the underlying array serving as element storage. The pointer is such that range
[data(); data() + size())
is always a valid range, even if the container is empty.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
(Nessuno)
Original:
(none)
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] Valore di ritorno
Puntatore alla memoria dell'elemento sottostante. Per i non-contenitori vuoti, &front() ritorna
Original:
Pointer to the underlying element storage. For non-empty containers, returns &front()
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] Complessità
Costante.
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] Eccezioni
[modifica] Vedi anche
accedere al primo elemento Original: access the first 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) | |
access the last element (metodo pubblico) |