On 04/28/2015 06:59 AM, Paolo Carlini wrote:
&& !DECL_FRIEND_PSEUDO_TEMPLATE_INSTANTIATION (t) the name of the macro seems weird to me: it mentions friends (and friends are mentioned in its comment too) but isn't used only for DECL_FRIEND_P true and indeed it is true for the non-friend 'fn' in the snippet at issue).
It shouldn't be true for fn, that's a bug. Jason