Proposed change to libstdc++ demangler (was: Re: g++ rejects declaration of reference to array?)
Benjamin Kosnik
bkoz@redhat.com
Wed Oct 22 17:31:00 GMT 2003
>Apparently this should be changed to:
>
> // <Q>[K|V|r]+A<I> ==> [ const| volatile| restrict]+ (Q) [I]
>
>where the <Q> is not allowed to end on [K|V|r]+.
>
>In less formal words, the 'const' etc. "falls through" the left brace
>and
> int ( const&) [3] becomes int const (&) [3]
Did you have a patch for this?
-benjamin
More information about the Gcc
mailing list