template <class charT, class traits = char_traits<charT> > class basic_streambuf;
| 成員型別 | 定義 | 說明 |
|---|---|---|
| char_type | 第一個模板引數(charT) | |
| traits_type | 第二個模板引數(traits) | 預設為:char_traits<charT> |
| int_type | traits_type::int_type | |
| pos_type | traits_type::pos_type | 通常與 streampos 相同 |
| off_type | traits_type::off_type | 通常與 streamoff 相同 |
| beginning (起始指標) | current position (get/put指標) | end (結束指標) | |
|---|---|---|---|
| Input sequence | eback | gptr | egptr |
| Output sequence | pbase | pptr | epptr |