tv example
tv example with friend member function
ch15 templates with nested classes