Is there any way to specify classes you would allow a template to be used for?
For example, I want to allow about 3 (int, float, char) data types to be used for this one class, as what it does would be identical for all those types, so naturally I think template, however, I don't want other data types, like user defined classes to be passed in that would potentially cause errors.