This class satisfies the Sequence requirements, with the exception that only the operations defined for a const-qualified Sequence are supported.
The sub_match object stored at index 0 represents sub-expression 0, i.e. the whole match. In this case the sub_match member matched is always true. The sub_match object stored at index n denotes what matched the marked sub-expression n within the matched expression. If the sub-expression n participated in a regular expression match then the sub_match member matched evaluates to true, and members first and second denote the range of characters [first, second) which formed that match. Otherwise matched is false, and members first and second point to the end of the sequence that was searched.
Definition at line 1624 of file tr1_impl/regex.
std::match_results< _Bi_iter, _Allocator >::match_results | ( | const _Allocator & | __a = _Allocator() |
) | [inline, explicit] |
std::match_results< _Bi_iter, _Allocator >::match_results | ( | const match_results< _Bi_iter, _Allocator > & | __rhs | ) | [inline] |
std::match_results< _Bi_iter, _Allocator >::~match_results | ( | ) | [inline] |
const_iterator std::match_results< _Bi_iter, _Allocator >::begin | ( | ) | const [inline] |
Reimplemented from std::vector< std::sub_match< _Bi_iter >, _Allocator >.
Definition at line 1751 of file tr1_impl/regex.
bool std::match_results< _Bi_iter, _Allocator >::empty | ( | ) | const [inline] |
Reimplemented from std::vector< std::sub_match< _Bi_iter >, _Allocator >.
Definition at line 1697 of file tr1_impl/regex.
const_iterator std::match_results< _Bi_iter, _Allocator >::end | ( | ) | const [inline] |
Reimplemented from std::vector< std::sub_match< _Bi_iter >, _Allocator >.
Definition at line 1758 of file tr1_impl/regex.
string_type std::match_results< _Bi_iter, _Allocator >::format | ( | const string_type & | __fmt, | |
regex_constants::match_flag_type | __flags = regex_constants::format_default | |||
) | const |
_Out_iter std::match_results< _Bi_iter, _Allocator >::format | ( | _Out_iter | __out, | |
const string_type & | __fmt, | |||
regex_constants::match_flag_type | __flags = regex_constants::format_default | |||
) | const [inline] |
difference_type std::match_results< _Bi_iter, _Allocator >::length | ( | size_type | __sub = 0 |
) | const [inline] |
Gets the length of the indicated submatch.
sub | indicates the submatch. |
Definition at line 1706 of file tr1_impl/regex.
match_results& std::match_results< _Bi_iter, _Allocator >::operator= | ( | const match_results< _Bi_iter, _Allocator > & | __rhs | ) | [inline] |
const_reference std::match_results< _Bi_iter, _Allocator >::operator[] | ( | size_type | __n | ) | const [inline] |
difference_type std::match_results< _Bi_iter, _Allocator >::position | ( | size_type | __sub = 0 |
) | const [inline] |
const_reference std::match_results< _Bi_iter, _Allocator >::prefix | ( | ) | const [inline] |
size_type std::match_results< _Bi_iter, _Allocator >::size | ( | ) | const [inline] |
Reimplemented from std::vector< std::sub_match< _Bi_iter >, _Allocator >.
Definition at line 1683 of file tr1_impl/regex.
Referenced by std::match_results< _Bi_iter >::empty().
string_type std::match_results< _Bi_iter, _Allocator >::str | ( | size_type | __sub = 0 |
) | const [inline] |
Definition at line 1723 of file tr1_impl/regex.
Referenced by std::match_results< _Bi_iter >::length().
const_reference std::match_results< _Bi_iter, _Allocator >::suffix | ( | ) | const [inline] |
void std::match_results< _Bi_iter, _Allocator >::swap | ( | match_results< _Bi_iter, _Allocator > & | __that | ) | [inline] |
Definition at line 1793 of file tr1_impl/regex.
Referenced by std::match_results< _Bi_iter >::operator=(), and std::swap().