This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [RFC] So, which is the correct type of _M_*_end - _M_*_cur?
- From: Benjamin Kosnik <bkoz at redhat dot com>
- To: Paolo Carlini <pcarlini at unitus dot it>
- Cc: libstdc++ at gcc dot gnu dot org
- Date: Tue, 29 Apr 2003 14:13:58 -0500
- Subject: Re: [RFC] So, which is the correct type of _M_*_end - _M_*_cur?
- References: <3EAEBA84.6080209@unitus.it>
>Which one is right???
Should really be ptrdiff_t, since they are pointers. However, I think
instead that they are going to be used in expressions of the types the
difference is assigned to.
-benjamin