[C++ Patch / RFC] PR 50864

Paolo Carlini paolo.carlini@oracle.com
Wed Oct 26 21:05:00 GMT 2011


Hi,
> At a glance, it looks too early; it's valid to have 
> namespace-qualified names after ->.
>
> namespace A
> {
>   struct B
>   {
>     int i;
>   };
> };
>
> A::B* b;
> int i = b->A::B::i;
I was also trying to construct such kind of example myself... but my 
patch does not regress on the testcase you wrote down. I can tell you 
exactly why, if you like..

Paolo.



More information about the Gcc-patches mailing list