Gabriel Dos Reis wrote: > | This won't work because fpos<mbstate_t> is also used for narrow streams. > > then we've get a design problem then. This is required by the standard (char_traits<char>::pos_type is streampos which is fpos<mbstate_t>), so there is not much that can be done about it. Petur