Exercise index of this lecture   Alphabetic index   Course home   

Exercises
Templates and The Standard Library


5.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++ Programming Language.
 

Solution


Generated: Tuesday March 26, 2013, 13:03:53