Exercises in this lecture  previous -- Keyboard shortcut: 'p'        Go to the slide, where this exercise belongs -- Keyboard shortcut: 'u'  

Exercise 6.1
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++ Prog. Lang. (3. edition).


Solution