Espacios de nombres
Variantes
Acciones

std::basic_string::operator+=

De cppreference.com
< cpp‎ | string‎ | basic string
 
 
Strings biblioteca
Terminadas en nulo
Original:
Null-terminated strings
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Cadenas de bytes
Multibyte cuerdas
Cadenas anchas
Clases
Original:
Classes
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
 
std::basic_string
Las funciones miembro
Original:
Member functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Elemento acceso
Original:
Element access
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Los iteradores
Original:
Iterators
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Capacidad
Original:
Capacity
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Operaciones
Original:
Operations
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
basic_string::operator+=
Buscar
Original:
Search
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Constantes
Original:
Constants
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Terceros funciones
Original:
Non-member functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
(C++11)(C++11)(C++11)
(C++11)(C++11)
(C++11)(C++11)(C++11)
(C++11)
(C++11)
Clases de ayuda
Original:
Helper classes
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
 
basic_string& operator+=( const basic_string& str );
(1)
basic_string& operator+=( CharT ch );
(2)
basic_string& operator+=( CharT* s );
(3)
basic_string& operator+=( std::initializer_list<CharT> ilist );
(4) (desde C++11)
Añade personajes addinional a la cadena .
Original:
Appends addinional characters to the string.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
1)
Añade str cadena
Original:
Appends string str
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
2)
Añade ch carácter
Original:
Appends character ch
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
3)
Añade la cadena de caracteres terminada en cero que apunta s .
Original:
Appends the null-terminated character string pointed to by s.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
4)
Anexa caracteres en la lista de inicialización ilist .
Original:
Appends characters in the initializer list ilist.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Contenido

[editar] Parámetros

ch -
carácter de añadir valor
Original:
character value to append
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
str -
cadena a añadir
Original:
string to append
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
s -
puntero a una cadena de caracteres terminada en nulo a añadir
Original:
pointer to a null-terminated character string to append
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
init -
inicializador lista con los personajes que se añadirán
Original:
initializer list with the characters to append
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[editar] Valor de retorno

*this

[editar] Complejidad

1)
lineal en el tamaño de str
Original:
linear in size of str
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
2)
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.
3)
lineal en el tamaño de s
Original:
linear in size of s
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
4)
lineal en el tamaño de init
Original:
linear in size of init
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[editar] Ejemplo

[editar] Ver también

asignar caracteres a una cadena
Original:
assign characters to a string
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(función miembro público) [editar]