Espacios de nombres
Variantes
Acciones

std::char_traits::assign

De cppreference.com
< cpp‎ | string‎ | char traits

 
 
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.
basic_string
char_traits
 
std::char_traits
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.
char_traits::assign
char_traits::cmp
char_traits::move
char_traits::copy
char_traits::compare
char_traits::length
char_traits::find
char_traits::to_char_type
char_traits::to_int_type
char_traits::eq_int_type
char_traits::eof
char_traits::not_eof
 
void assign( CharT& r, CharT a );
(1)
CharT* assign( CharT* p, std::size_t count, CharT a );
(2)
Asigna un personaje .
Original:
Assigns a character.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
1)
Asigna a carácter a carácter r .
Original:
Assigns character a to character r.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
2)
Asigna a carácter a cada personaje en caracteres count en la secuencia de caracteres apuntada por p .
Original:
Assigns character a to each character in count characters in the character sequence pointed to by p.
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

a -
personaje valor a asignar
Original:
character value to assign
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
r -
carácter asignar al
Original:
character to assign to
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
p -
puntero a una secuencia de caracteres para asignar a
Original:
pointer to a character sequence to assign to
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
count -
la longitud de la secuencia de caracteres
Original:
the length of the character sequence
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

1)
(Ninguno)
Original:
(none)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
2) p

[editar] Excepciones

1)
noexcept specification:  
noexcept
  (desde C++11)
2)
(Ninguno)
Original:
(none)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[editar] Complejidad

1)
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.
2)
Lineal en count
Original:
Linear in count
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.