std::basic_regex::operator=
Aus 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. |
definiert in Header <regex> | ||
basic_regex& operator=(const basic_regex& other ); | (1) | (seit C++11) |
basic_regex& operator=( basic_regex&& other ); | (2) | (seit C++11) |
basic_regex& operator=(const CharT* ptr ); | (3) | (seit C++11) |
basic_regex& operator=(std::initializer_list<CharT> il ); | (4) | (seit C++11) |
template<class ST, class SA > basic_regex& operator=(conststd::basic_string<CharT,ST,SA>& p ); | (5) | (seit C++11) |
Weist den Inhalt .
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)
Kopieren Zuweisungsoperator. Weist den Inhalt
other
. Entspricht 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)
Bewegen Zuweisungsoperator. Weist den Inhalt
other
mit move-Semantik. other
ist gültig, aber nicht näher Zustand nach der Operation. Entspricht 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)
Weist eine null-terminierte Zeichenkette, auf die
ptr
. Entspricht 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)
Weist Zeichen Initialisierungsliste
il
enthalten. Entspricht 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)
Weist den Inhalt der Zeichenfolge
p
. Entspricht 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.
Inhaltsverzeichnis |
[Bearbeiten]Parameter
other | - | anderen Regex-Objekt 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 | - | Zeiger auf einen null-terminierten Zeichenkette 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 | - | Initialisierungsliste mit Zeichen zuordnen 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 mit Zeichen zuweisen 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. |
[Bearbeiten]Rückgabewert
*this.
[Bearbeiten]Ausnahmen
1)
(None)
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)
(None)
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.
[Bearbeiten]Siehe auch
ordnet die Inhalte 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. (öffentliche Elementfunktion) |