2016-04-21 2:57 GMT+06:00 Richard Smith :
> rsmith added a comment.
>
> Sorry, I don't think this approach can work. Consider:
>
> template struct X {
> template friend void f(T);
> template friend void f(U);
> };
>
> These two friend declarations declare different friend function temp
rsmith added a comment.
Sorry, I don't think this approach can work. Consider:
template struct X {
template friend void f(T);
template friend void f(U);
};
These two friend declarations declare different friend function templates, but
this transformation would incorrectly make them