template class??

The instructions of the homework said that
This is a template class. The template parameter, called RT, may be instantiated as any struct or class that contains an integer member variable called k.

Im not sure what is exactly I have to do, first I thought I have only to do the

1
2
3
4

template <class RT>   //before the class, but not sure what to do
                      //to instantiated also to create a member variable k??


http://cplusplus.com/doc/tutorial/templates/
And read the section on class templates, it should be able help you out.
thanks
Topic archived. No new replies allowed.