This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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]

[C++ Patch] PR 50344


Hi,

basing on [class.friend] (11.3/3) in C++11 I think Jon is right that cv-qualification should be ok in a friend declaration. I'm not sure, however, if we want to somehow allow that also in c++98 mode... Tested x86_64-linux.

Ok?

Thanks,
Paolo.

///////////////////

Attachment: CL_50344
Description: Text document

Attachment: patch_50344
Description: Text document


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