There are several types defined in the char_traits structure for both wide and conventional char types.
| Type | Defined | Use |
|---|---|---|
| char | char_type | char values |
| int | int_type | integral values of char types including eof |
| streamoff | off_type | stream offset values |
| streampos | pos_type | stream position values |
| mbstate_t | state_type | file state values |