[Bug c++/60799] access checking within injected friend functions does not happen in the context of the enclosing class

Casey at Carter dot net gcc-bugzilla@gcc.gnu.org
Mon Apr 18 19:52:00 GMT 2016


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60799

--- Comment #3 from Casey Carter <Casey at Carter dot net> ---
>  I'm inclined to the second interpretation, which would imply the behavior described in this bug report is what the standard intends.

This is me stumbling over my words attempting to say "I think this is NOT a
bug."


More information about the Gcc-bugs mailing list