This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Adjust testsuite and rope for "Deprecated implicittypename"


>>>>> "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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]