Espaços nominais
Variantes
Acções

std::basic_regex::operator=

Da cppreference.com
< cpp‎ | regex‎ | basic regex

 
 
Biblioteca de expressões regulares
Classes
Original:
Classes
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
(C++11)
Algoritmos
Original:
Algorithms
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
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.
Exceções
Original:
Exceptions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Características
Original:
Traits
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.
(C++11)
 
std::basic_regex
Funções de membro
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.
basic_regex::basic_regex
basic_regex::~basic_regex
basic_regex::operator=
basic_regex::assign
Observadores
Original:
Observers
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
basic_regex::mark_count
basic_regex::flags
Localidade
Original:
Locale
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
basic_regex::getloc
basic_regex::imbue
Modificadores
Original:
Modifiers
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
basic_regex::swap
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.
Funções não-membros
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.
 
Definido no cabeçalho <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=(conststd::basic_string<CharT,ST,SA>& p );
(5) (desde C++11)
Atribui o conteúdo.
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.
1)
Copiar operador de atribuição. Atribui o conteúdo 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.
2)
Mova operador de atribuição. Atribui o conteúdo de other usando semântica de movimento. other está em estado válido, mas não especificado após a operação. 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.
3)
Atribui uma cadeia de caracteres terminada em nulo apontado por 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.
4)
Atribui caracteres contidos il lista de inicializador. 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.
5)
Atribui o conteúdo da p cadeia. 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.

Índice

[editar]Parâmetros

other -
outro 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 -
ponteiro para uma cadeia de caracteres terminada com null
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 -
lista de inicializador contendo caracteres atribuir
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 -
string contendo caracteres para atribuir
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]Exceções

1)
(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.
2)
noexcept specification:  
noexcept
  (desde C++11)
3-5)
(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.

[editar]Veja também

atribui o conteúdo
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.

(função pública membro)[edit]
close