typedef basic_string<char> string;
| 成员类型 | 定义 |
|---|---|
| value_type | char |
| traits_type | char_traits<char> |
| allocator_type | allocator<char> |
| 引用 | char& |
| const_reference | const char& |
| 指针 | char* |
| const_pointer | const char* |
| iterator | 一个指向char(convertible toconst_iterator) |
| const_iterator | 一个指向const char |
| reverse_iterator | reverse_iterator<iterator> |
| const_reverse_iterator | reverse_iterator<const_iterator> |
| difference_type | ptrdiff_t |
| size_type | size_t |