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