template <class BidirectionalIterator> class sub_match : public pair <BidirectionalIterator, BidirectionalIterator>;
|  |  | 
| 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). |