Espaços nominais
Variantes
Acções

Diferenças entre edições de "cpp/regex/basic regex/operator="

Da cppreference.com
< cpp‎ | regex‎ | basic regex
(Translated from the English version using Google Translate)
 
m (Use {{lc}}. Update links. Various fixes.)
 
(2 edições intermédias de 2 utilizadores não apresentadas)
Linha 2: Linha 2:
 
{{cpp/regex/basic_regex/title | operator{{=}}}}
 
{{cpp/regex/basic_regex/title | operator{{=}}}}
 
{{cpp/regex/basic_regex/navbar}}
 
{{cpp/regex/basic_regex/navbar}}
{{ddcl list begin}}
+
{{begin}}
{{ddcl list header | regex}}
+
{{header | regex}}
{{ddcl list item | num=1 | notes={{mark since c++11}} | 1=
+
{{| num=1 | =c++11 | 1=
 
basic_regex& operator=( const basic_regex& other );
 
basic_regex& operator=( const basic_regex& other );
 
}}
 
}}
{{ddcl list item | num=2 | notes={{mark since c++11}} | 1=
+
{{| num=2 | sincec++11 | 1=
 
basic_regex& operator=( basic_regex&& other );
 
basic_regex& operator=( basic_regex&& other );
 
}}
 
}}
{{ddcl list item | num=3 | notes={{mark since c++11}} | 1=
+
{{| num=3 | sincec++11 | 1=
 
basic_regex& operator=( const CharT* ptr );
 
basic_regex& operator=( const CharT* ptr );
 
}}
 
}}
{{ddcl list item | num=4 | notes={{mark since c++11}} | 1=
+
{{| num=4 | sincec++11 | 1=
 
basic_regex& operator=( std::initializer_list<CharT> il );
 
basic_regex& operator=( std::initializer_list<CharT> il );
 
}}
 
}}
{{ddcl list item | num=5 | notes={{mark since c++11}} | 1=
+
{{| num=5 | sincec++11 | 1=
 
template< class ST, class SA >
 
template< class ST, class SA >
 
basic_regex& operator=( const std::basic_string<CharT,ST,SA>& p );
 
basic_regex& operator=( const std::basic_string<CharT,ST,SA>& p );
 
}}
 
}}
{{ddcl list end}}
+
{{end}}
  
 
{{tr|Atribui o conteúdo.|Assigns the contents.}}
 
{{tr|Atribui o conteúdo.|Assigns the contents.}}
Linha 35: Linha 35:
  
 
===Parâmetros===
 
===Parâmetros===
{{param list begin}}
+
{{begin}}
{{param list item | other |{{tr| outro objeto regex| another regex object}}}}
+
{{| other |{{tr| outro objeto regex| another regex object}}}}
{{param list item | ptr |{{tr| ponteiro para uma cadeia de caracteres terminada com null| pointer to a null-terminated character string}}}}
+
{{| ptr |{{tr| ponteiro para uma cadeia de caracteres terminada com null| pointer to a null-terminated character string}}}}
{{param list item | il |{{tr| lista de inicializador contendo caracteres atribuir| initializer list containing characters to assign}}}}
+
{{| il |{{tr| lista de inicializador contendo caracteres atribuir| initializer list containing characters to assign}}}}
{{param list item | p |{{tr| string contendo caracteres para atribuir| string containing characters to assign}}}}
+
{{| p |{{tr| string contendo caracteres para atribuir| string containing characters to assign}}}}
{{param list end}}
+
{{end}}
  
 
===Valor de retorno===
 
===Valor de retorno===
Linha 53: Linha 53:
  
 
===Veja também===
 
===Veja também===
{{dcl list begin}}
+
{{begin}}
{{dcl list template | cpp/regex/basic_regex/dcl list assign}}
+
{{| cpp/regex/basic_regex/assign}}
{{dcl list end}}
+
{{end}}
 +
 
 +
 +
 +
 +
 +
 +
 +
 +

Edição actual desde as 10h19min de 2 de julho de 2013

 
 
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=( const std::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]