template <class BidirectionalIterator>class sub_match : public pair <BidirectionalIterator, BidirectionalIterator>;
|
|
| 成员类型 | 定义 | 说明 |
|---|---|---|
| iterator_traits<BidirectionalIterator>::value_type | 序列中字符的类型。 | string_type |
| basic_string<value_type> | 字符类型的 string 类型。 | iterator |
| 模板参数 | 指向字符序列的 双向迭代器类型。 | difference_type |
| iterator_traits<BidirectionalIterator>::size_type | first_type | 相同,通常与 ptrdiff_t 一样 |
| 与 pair 相同(继承自 pair)。 | 指向字符序列的 双向迭代器类型。 | (inherited from pair).模板参数second_type |
| Construct sub_match (public member function) | 指向字符序列的 双向迭代器类型。 | (inherited from pair).模板参数second_type |