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.
basic_regex(C++11)
sub_match(C++11)
match_results(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.
regex_match(C++11)
regex_search(C++11)
regex_replace(C++11)
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.
regex_iterator(C++11)
regex_token_iterator(C++11)
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.
regex_error(C++11)
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.
regex_traits(C++11)
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.
syntax_option_type(C++11)
match_flag_type(C++11)
error_type(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.
basic_regex constants
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.
swap(std::basic_regex)
 
Defined in header <regex>
basic_regex& operator=( const basic_regex& other );
(1) (a partir do C++ 11)
basic_regex& operator=( basic_regex&& other );
(2) (a partir do C++ 11)
basic_regex& operator=( const CharT* ptr );
(3) (a partir do C++ 11)
basic_regex& operator=( std::initializer_list<CharT> il );
(4) (a partir do C++ 11)
template< class ST, class SA >
basic_regex& operator=( const std::basic_string<CharT,ST,SA>& p );
(5) (a partir do 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
  (a partir do 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]