Overloading friend operator
This is one of those frequently asked questions that have different approaches that are similar but not really the same. The three approaches differ in who you are declaring to be a friend of your function –and then on how you implement it. The extrovert Declare all instantiations of the template as friends. This is … Read more