3
The iffy thing is to declare an static (friend) operator in another class (that is unrelated). You could just create it in the surrounding scope, there's no difference semantically no reason to have it a friend (as Printer is not used any way) you can still make it a friend if you needed to...