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 |