Let’s say I have a linked list class, templated. How can I prevent the user of my class from using some types of data in the class, or, how can I only allow them to use some predefined types?

I do not have any code for this, as it is a general question.

Thanks for any help you can give.