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