std::basic_string::reserve
De cppreference.com
<metanoindex/>
<tbody> </tbody> void reserve( size_type size ); |
||
Define a capacidade da cadeia para pelo menos
size. Novo armazenamento é alocado, se necessário. Original:
Sets the capacity of the string to at least
size. New storage is allocated if necessary. 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
| size | - | nova capacidade da cadeia
Original: new capacity of the string The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
Valor de retorno
(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.
Complexidade
linear no tamanho da cadeia
Original:
linear in the size of 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.
