Namespaces
Variants
Views
Actions

Difference between revisions of "cpp/regex/match results"

From cppreference.com
< cpp‎ | regex
(add member functions)
(import from old wiki)
Line 7: Line 7:
 
> class match_results;
 
> class match_results;
 
}}
 
}}
 +
 +
  
 
{{todo}}
 
{{todo}}
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
  
 
{{tdcl list begin}}
 
{{tdcl list begin}}
Line 34: Line 47:
 
{{dcl list mem fun | cpp/regex/match_results/ready | }}
 
{{dcl list mem fun | cpp/regex/match_results/ready | }}
  
{{dcl list h2 | Capacity}}
+
{{dcl list h2 | }}
{{dcl list mem fun | cpp/regex/match_results/empty | }}
+
{{dcl list mem fun | cpp/regex/match_results/empty | }}
{{dcl list mem fun | cpp/regex/match_results/size | }}
+
{{dcl list mem fun | cpp/regex/match_results/size | }}
{{dcl list mem fun | cpp/regex/match_results/max_size | }}
+
{{dcl list mem fun | cpp/regex/match_results/max_size | }}
  
 
{{dcl list h2 | Element access}}
 
{{dcl list h2 | Element access}}
{{dcl list mem fun | cpp/regex/match_results/length | }}
+
{{dcl list mem fun | cpp/regex/match_results/length | }}
{{dcl list mem fun | cpp/regex/match_results/position | }}
+
{{dcl list mem fun | cpp/regex/match_results/position | }}
{{dcl list mem fun | cpp/regex/match_results/str | }}
+
{{dcl list mem fun | cpp/regex/match_results/str | }}
{{dcl list mem fun | cpp/regex/match_results/operator_at | title=operator[]}}
+
{{dcl list mem fun | cpp/regex/match_results/operator_at | title=operator[] }}
{{dcl list mem fun | cpp/regex/match_results/prefix | }}
+
{{dcl list mem fun | cpp/regex/match_results/prefix | }}
{{dcl list mem fun | cpp/regex/match_results/suffix | }}
+
{{dcl list mem fun | cpp/regex/match_results/suffix | }}
  
 
{{dcl list h2 | Iterators}}
 
{{dcl list h2 | Iterators}}
{{dcl list mem fun | cpp/regex/match_results/begin | title=begin<br>cbegin | }}
+
{{dcl list mem fun | cpp/regex/match_results/begin | title=begin<br>cbegin | }}
{{dcl list mem fun | cpp/regex/match_results/end | title=end<br>cend | }}
+
{{dcl list mem fun | cpp/regex/match_results/end | title=end<br>cend | }}
  
 
{{dcl list h2 | Format}}
 
{{dcl list h2 | Format}}
{{dcl list mem fun | cpp/regex/match_results/format | }}
+
{{dcl list mem fun | cpp/regex/match_results/format | }}
  
 
{{dcl list h2 | Modifiers}}
 
{{dcl list h2 | Modifiers}}
 
{{dcl list mem fun | cpp/regex/match_results/swap | swaps the contents}}
 
{{dcl list mem fun | cpp/regex/match_results/swap | swaps the contents}}
 
{{dcl list end}}
 
{{dcl list end}}

Revision as of 05:24, 22 July 2011

Template:cpp/regex/match results/sidebar

Defined in header <regex>
template<

    class BidirectionalIterator,
    class Allocator = std::allocator<std::sub_match<BidirectionalIterator>>

> class match_results;
Template:mark c++0x feature

The class template match_results holds a collection of character sequences that represent the result of a regular expression match.

Several specializations for common character sequence types are provided:

Template:tdcl list begin Template:tdcl list header Template:tdcl list hitem Template:tdcl list item Template:tdcl list item Template:tdcl list item Template:tdcl list item Template:tdcl list end

Template:tdcl list begin Template:tdcl list h1 Template:tdcl list hitem Template:tdcl list item Template:tdcl list item Template:tdcl list item Template:tdcl list item Template:tdcl list item Template:tdcl list item Template:tdcl list item Template:tdcl list item Template:tdcl list item Template:tdcl list item Template:tdcl list end

Contents