Namespaces
Variants
Views
Actions

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

From cppreference.com
< cpp‎ | regex
m (Text replace - "{{dcl list begin}} {{dcl list h1 | Member functions}}" to "===Member functions=== {{dcl list begin}}")
(use correct template)
Line 40: Line 40:
 
===Member functions===
 
===Member functions===
 
{{dcl list begin}}
 
{{dcl list begin}}
{{dcl list mem cons | cpp/regex/match_results/match_results | constructs the object }}
+
{{dcl list mem | cpp/regex/match_results/match_results | constructs the object }}
{{dcl list mem des | cpp/regex/match_results/~match_results | destructs the object }}
+
{{dcl list mem | cpp/regex/match_results/~match_results | destructs the object }}
 
{{dcl list mem fun | cpp/regex/match_results/get_allocator | returns the associated allocator}}
 
{{dcl list mem fun | cpp/regex/match_results/get_allocator | returns the associated allocator}}
  

Revision as of 14:04, 23 August 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++11 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