Discussion:
Solved
Graziano Servizi
2014-10-07 14:00:19 UTC
Permalink
I have understood: it has been sufficient to forward declare
friend_inline in global scope.

Thanks,

GS
Jonathan Wakely
2014-10-07 14:28:42 UTC
Permalink
I have understood: it has been sufficient to forward declare friend_inline
in global scope.
Yes, unless a friend function is also declared outside the class of
which it is a friend then its name is not visible in that scope and it
can only be found by ADL.

Continue reading on narkive:
Loading...