30 Regular expressions library [re]

30.9 Class template match_­results [re.results]

30.9.2 Constructors [re.results.const]

explicit match_results(const Allocator& a);
Postconditions: ready() returns false.
size() returns 0.
match_results(match_results&& m) noexcept;
Effects: The stored Allocator value is move constructed from m.get_­allocator().
Postconditions: As specified in Table 140.
match_results& operator=(const match_results& m);
Postconditions: As specified in Table 140.
match_results& operator=(match_results&& m);
Postconditions: As specified in Table 140.
Table 140: match_­results assignment operator effects [tab:re.results.const]
Element
Value
ready()
m.ready()
size()
m.size()
str(n)
m.str(n) for all integers n < m.size()
prefix()
m.prefix()
suffix()
m.suffix()
(*this)[n]
m[n] for all integers n < m.size()
length(n)
m.length(n) for all integers n < m.size()
position(n)
m.position(n) for all integers n < m.size()