std::vector::data — cppreference.com
De cppreference.com
<metanoindex/>
<tbody> </tbody>
|
|
(depuis C++11) | |
|
|
(depuis C++11) | |
Renvoie un pointeur vers le tableau sous-jacent servant de stockage d'éléments. Le pointeur est tel que [data(); data() + size()) plage est toujours une plage valide, même si le conteneur est vide .
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.
Paramètres
(Aucun)
Original:
(none)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Retourne la valeur
Pointeur vers l'élément de stockage sous-jacent. Pour les non-emballages vides, &front() rendements
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.
Complexité
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.
Exceptions
Voir aussi
| accède au premier élément (fonction membre publique) [edit] | |
| accède au dernier élément (fonction membre publique) [edit] | |