| mono (37) | |||
|
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
| |||
|
|
|||
| Zhuge (2878) | |
|
http://cplusplus.com/doc/tutorial/templates/ And read the section on class templates, it should be able help you out. | |
|
|
|
| mono (37) | |
|
thanks | |
|
|
|