std::basic_string::back
De cppreference.com
<metanoindex/>
<tbody> </tbody> CharT& back(); |
(desde C++11) | |
const CharT& back() const; |
(desde C++11) | |
Retorna referência ao último personagem na seqüência.
Original:
Returns reference to the last 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.
Parâmetros
(Nenhum)
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.
Valor de retorno
referência ao último personagem.
Original:
reference to the last 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.
Complexidade
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.
Notas
back requer que !empty() == true, caso contrário, o resultado é indefinido.Original:
back 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.
