std::basic_regex::operator=
De cppreference.com
< cpp | regex | basic regex
![]() |
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. |
Defined in header <regex>
|
||
basic_regex& operator=( const basic_regex& other ); |
(1) | (desde C++11) |
basic_regex& operator=( basic_regex&& other ); |
(2) | (desde C++11) |
basic_regex& operator=( const CharT* ptr ); |
(3) | (desde C++11) |
basic_regex& operator=( std::initializer_list<CharT> il ); |
(4) | (desde C++11) |
template< class ST, class SA > basic_regex& operator=( const std::basic_string<CharT,ST,SA>& p ); |
(5) | (desde C++11) |
Asigna el contenido .
Original:
Assigns the contents.
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.
1)
Copiar el operador de asignación. Asigna el contenido de
other
. Equivalente a assign(other); .Original:
Copy assignment operator. Assigns the contents of
other
. Equivalent to assign(other);.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.
2)
Mueva operador de asignación. Asigna el contenido de
other
utilizando la semántica de movimiento. other
está en estado válido, pero no especificada después de la operación. Equivalente a assign(other); .Original:
Move assignment operator. Assigns the contents of
other
using move semantics. other
is in valid, but unspecified state after the operation. Equivalent to assign(other);.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.
3)
Asigna una cadena de caracteres terminada en cero que apunta
ptr
. Equivalente a assign(ptr); .Original:
Assigns a null-terminated character string pointed to by
ptr
. Equivalent to assign(ptr);.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.
4)
Asigna caracteres contenidos en
il
inicializador lista. Equivalente a assign(il); .Original:
Assigns characters contained in initializer list
il
. Equivalent to assign(il);.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.
5)
Asigna el contenido de la
p
cadena. Equivalente a assign(p); .Original:
Assigns the contents of the string
p
. Equivalent to assign(p);.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.
Contenido |
[editar] Parámetros
other | - | otro objeto regex
Original: another regex object The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
ptr | - | puntero a una cadena de caracteres terminada en nulo
Original: pointer to a null-terminated character string The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
il | - | inicializador lista que contiene caracteres asignar
Original: initializer list containing characters to assign The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
p | - | cadena que contiene caracteres asignar
Original: string containing characters to assign 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] Excepciones
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.
You can help to correct and verify the translation. Click here for instructions.
2)
3-5)
(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.
You can help to correct and verify the translation. Click here for instructions.
[editar] Ver también
asigna el contenido Original: assigns the contents The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (miembro público función) |