I have understood: it has been sufficient to forward declare friend_inline in global scope. Thanks, GS