What is the compilation in c++?

The job:

Be done on the basis of the PersonList class, a generic List class that can store a list of any data type.

What you need to do in the job and what is the compilation in c++ ?
I think that the job you need to write a template class.
July 2nd 19 at 17:12
2 answers
July 2nd 19 at 17:14
True think.
July 2nd 19 at 17:16
It seems that here the term "generalized" does not apply to language. Just for example to make the same list, but for any data.
For example, here is a list item:
struct List
 struct List * next;
 struct List * prev;
 void * data;
 int dataType;

able to store data of any type (depending on dataType, data pointer will be interpreted in different ways)
Hardly, usually, the generalizations understand generics - charity84 commented on July 2nd 19 at 17:19

Find more questions by tags OOPC++