std::sub_match
Aus cppreference.com
![]() |
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>
|
||
template< class BidirIt |
(seit C++11) | |
Das Klassen-Template
sub_match
wird durch die reguläre Ausdrücke verwendet werden, um Sequenzen von Zeichen markierten Sub-Ausdrücke abgestimmt bezeichnen .Original:
The class template
sub_match
is used by the regular expression engine to denote sequences of characters matched by marked sub-expressions.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.
Ein Spiel ist ein
[begin, end)
Paar innerhalb des Zielbereichs von der regulären Ausdruck, jedoch mit zusätzlicher Beobachter Funktionen Code Klarheit zu schaffen .Original:
A match is a
[begin, end)
pair within the target range matched by the regular expression, but with additional observer functions to enhance code clarity.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.
Nur der Standardkonstruktor ist öffentlich zugänglich. Instanzen
sub_match
werden normalerweise gebaut und bevölkert als Teil eines std::match_results Behälter während der Verarbeitung einer der regex Algorithmen .Original:
Only the default constructor is publicly accessible. Instances of
sub_match
are normally constructed and populated as a part of a std::match_results container during the processing of one of the regex algorithms.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.
Die Member-Funktionen zurückzukehren definierten Standardwerte, wenn die matched Mitglied ist
true
.Original:
The member functions return defined default values unless the matched member is
true
.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.
sub_match
erbt von std::pair<BidirIt, BidirIt>, obwohl es nicht als std::pair Objekt behandelt werden, weil Benutzer Funktionen wie Swap-und Zuordnung funktioniert nicht so wie erwartet .Original:
sub_match
inherits from std::pair<BidirIt, BidirIt>, although it cannot be treated as a std::pair object because member functions such as swap and assignment will not work as expected.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] Type Anforderungen
-BidirIt must meet the requirements of BidirectionalIterator .
|
[Bearbeiten] Spezialisierungen
Mehrere Spezialisierungen für gemeinsame Zeichenfolge Typen stehen zur Verfügung:
Original:
Several specializations for common character sequence types are provided:
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.
definiert in Header
<regex> | |
Type
Original: Type The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
Definition |
csub_match
|
sub_match<const char*> |
wcsub_match
|
sub_match<const wchar_t*> |
ssub_match
|
sub_match<std::string::const_iterator> |
wssub_match
|
sub_match<std::wstring::const_iterator> |
[Bearbeiten] Mitglied Typen
Mitglied Typ
Original: Member type The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
Definition |
iterator
|
BidirIt |
value_type
|
std::iterator_traits<BidirIt>::value_type |
difference_type
|
std::iterator_traits<BidirIt>::difference_type |
string_type
|
std::basic_string<value_type> |
[Bearbeiten] Mitglied widerspricht
matched
|
Zeigt an, ob dieses Spiel erfolgreich war .
Original: Indicates if this match was successful. The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
Inherited from std::pair
first
|
Start der Reihenfolge der Spiele ist .
Original: Start of the match sequence. The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
second
|
One-past-the-Ende des Spiels Folge .
Original: One-past-the-end of the match sequence. The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
[Bearbeiten] Member-Funktionen
baut das Match-Objekt Original: constructs the match object The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (öffentliche Elementfunktion) | |
Original: Observers The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. | |
gibt die Länge des Spiels (falls vorhanden) Original: returns the length of the match (if any) The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (öffentliche Elementfunktion) | |
wandelt auf den zugrunde liegenden Typ String Original: converts to the underlying string type The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (öffentliche Elementfunktion) | |
vergleicht abgestimmt Teilfolge (wenn überhaupt) Original: compares matched subsequence (if any) The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (öffentliche Elementfunktion) |
[Bearbeiten] Non-Member-Funktionen
lexikographisch vergleicht die Werte in dem Behälter Original: lexicographically compares the values in the container The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (Funktion) | |
gibt den angepassten Charakter Teilfolge Original: outputs the matched character subsequence The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (Funktions-Template) |
[Bearbeiten] Siehe auch
(C++11) |
durchläuft regex submatches Original: iterates through regex submatches The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (Klassen-Template) |