cpp/string/basic string/front : Différence entre versions
De cppreference.com
< cpp | string | basic string
P12 (discuter | contributions) m (1 version : Translate from the English version) |
m (r2.7.3) (robot Ajoute : de, en, es, it, ja, pt, ru, zh) |
||
Ligne 29 : | Ligne 29 : | ||
{{dcl list template | cpp/string/basic_string/dcl list back}} | {{dcl list template | cpp/string/basic_string/dcl list back}} | ||
{{dcl list end}} | {{dcl list end}} | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ |
Version du 2 novembre 2012 à 11:41
![]() |
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. |
CharT& front(); |
(depuis C++11) | |
const CharT& front() const; |
(depuis C++11) | |
Retourne référence au premier caractère de la chaîne .
Original:
Returns reference to the first character in the string.
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 |
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.
Retourne la valeur
référence au premier caractère .
Original:
reference to the first character.
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.
Complexité
Constante
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.
Notes
front
exige que !empty() == true, sinon le résultat est indéfini .Original:
front
requires that !empty() == true, otherwise the result is undefined.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.