No. Just think friend function as a public part of that class