Too lazy to re-write here?
He asked if there is a way to allow user to directly decide (I assume, from input) the actual type of a template linkedList<T>
program ask: what I must insert in list?
and user can answer: int
and linkedList<T> will be parsed as linkedList<int>
If I interpreted correctly the question, the answer is: NO!
Thanks Nobun. You interpreted correctly.
Last edited on