std::array::data
De cppreference.com
![]() |
This page has been machine-translated from the English version of the wiki using Google Translate.
The translation may contain errors and awkward wording. Hover over text to see the original version. You can help to fix errors and improve the translation. For instructions click here. |
T* data(); |
(depuis C++11) | |
const T* data() const; |
(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.
You can help to correct and verify the translation. Click here for instructions.
Sommaire |
[modifier] 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.
You can help to correct and verify the translation. Click here for instructions.
[modifier] 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.
You can help to correct and verify the translation. Click here for instructions.
[modifier] 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.
You can help to correct and verify the translation. Click here for instructions.
[modifier] Exceptions
[modifier] Voir aussi
accède au premier élément (fonction membre publique) | |
accède au dernier élément (fonction membre publique) |