This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Patch (Newb)]:libstdc++v3/tr1/array: Fix cast in array::endconst so that it matches the return type of const_interator.
- From: Benjamin Kosnik <bkoz at redhat dot com>
- To: Sashan Govender <sashang at gmail dot com>
- Cc: gcc-patches at gcc dot gnu dot org, libstdc++ at gcc dot gnu dot org
- Date: Sat, 16 Oct 2004 08:31:49 -0500
- Subject: Re: [Patch (Newb)]:libstdc++v3/tr1/array: Fix cast in array::endconst so that it matches the return type of const_interator.
- Organization: Red Hat / Chicago
- References: <23738f0804101517477bcef3e1@mail.gmail.com>
>Problem is that the reinterpret_cast performed by member function
>array::end const is a cast to an iterator type. The return type of
>array::end const is of type const_interator. The patch fixes this so
>that the cast and the return type match.
Thanks, this is in.
best,
benjamin