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. |
<metanoindex/>
<tbody> </tbody>| definiert in Header <regex>
|
||
template< class BidirIt > class sub_match; |
(seit C++11) | |
Das Klassen-Template
sub_match wird durch die regulre Ausdrcke verwendet werden, um Sequenzen von Zeichen markierten Sub-Ausdrcke 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 regulren Ausdruck, jedoch mit zustzlicher 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 zugnglich. Instanzen
sub_match werden normalerweise gebaut und bevlkert als Teil eines std::match_results Behlter whrend 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 zurckzukehren 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.
Type Anforderungen
-BidirIt must meet the requirements of BidirectionalIterator.
|
Spezialisierungen
Mehrere Spezialisierungen fr gemeinsame Zeichenfolge Typen stehen zur Verfgung:
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>
|
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>
|
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. |
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 Lnge 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) | |
Non-Member-Funktionen
lexikographisch vergleicht die Werte in dem Behlter 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) | |
Siehe auch
(C++11) |
durchluft 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) |