template < class charT, // basic_stringbuf::char_type class traits = char_traits<charT>, // basic_stringbuf::traits_type class Alloc = allocator<charT> // basic_stringbuf::allocator_type > class basic_stringbuf;
成員型別 | 定義 | 說明 |
---|---|---|
char_type | 第一個模板引數(charT) | |
traits_type | 第二個模板引數(traits) | 預設為:char_traits<charT> |
allocator_type | 第三個模板引數(Alloc) | 預設為:allocator<charT> |
int_type | traits_type::int_type | |
pos_type | traits_type::pos_type | 通常與 streampos 相同 |
off_type | traits_type::off_type | 通常與 streamoff 相同 |