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: Proposed change to libstdc++ demangler (was: Re: g++ rejectsdeclaration of reference to array?)


>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


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