[RFC] So, which is the correct type of _M_*_end - _M_*_cur?

Nathan Myers ncm-nospam@cantrip.org
Tue Apr 29 20:28:00 GMT 2003


On Tue, Apr 29, 2003 at 10:05:24PM +0200, Paolo Carlini wrote:
> Paolo Carlini wrote:
> 
> >But what about off_type, which is (for the accidental list reader ;) 
> 
>  template<typename _CharT, typename _Traits>
>    class basic_streambuf
>    {
>    public:
>      typedef _Traits                         traits_type;
>      typedef typename traits_type::off_type  off_type;

The off_type trait is meant for differences in stream positions, 
not pointers.

Nathan Myers
ncm-nospam@cantrip.org



More information about the Libstdc++ mailing list