Exercise 5.2
A template class with friends
Arrange that
operator<<
becomes a friend of the template class
Point<C>
. It may be useful to consult §C.13.2 page 854-855 in
The C++ Programming Language
.
Solution