Template C++ Question

I don't see a question.
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>

for example:
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
Topic archived. No new replies allowed.