This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [PATCH] Adjust testsuite and rope for "Deprecated implicittypename"
- From: Jason Merrill <jason at redhat dot com>
- To: Paolo Carlini <pcarlini at unitus dot it>
- Cc: libstdc++ at gcc dot gnu dot org
- Date: Thu, 13 Dec 2001 02:26:54 +0000
- Subject: Re: [PATCH] Adjust testsuite and rope for "Deprecated implicittypename"
- References: <3C17EF9D.C5648B17@unitus.it>
>>>>> "Paolo" == Paolo Carlini <pcarlini@unitus.it> writes:
> _Rope_iterator& operator= (const _Rope_iterator& __x) {
> - _RopeRep* __old = _M_root;
> + typename
> + _Rope_iterator_base<_CharT,_Alloc>::_RopeRep* __old = _M_root;
This could just be
typename _Rope_iterator::_RopeRep*
but there are other uses of _RopeRep that aren't currently warned about,
but that will also break with the new parser. You probably want to make it
a local typedef.
Jason