answered questions about template classes