template <class BidirectionalIterator>class sub_match : public pair <BidirectionalIterator, BidirectionalIterator>;
1
2
3
4
typedef sub_match<const char*> csub_match;
typedef sub_match<const wchar_t*> wcsub_match;
typedef sub_match<string::const_iterator> ssub_match;
typedef sub_match<wstring::const_iterator> wssub_match;
| member type | definition | notes |
|---|---|---|
| value_type | iterator_traits<BidirectionalIterator>::value_type | Type of the characters in the sequence. |
| string_type | basic_string<value_type> | Type of string for the characters type. |
| iterator | BidirectionalIterator | The template parameter |
| difference_type | iterator_traits<BidirectionalIterator>::size_type | usually the same as ptrdiff_t |
| first_type | BidirectionalIterator | same as iterator (inherited from pair). |
| second_type | BidirectionalIterator | same as iterator (inherited from pair). |