I have created a type list. I then create a class using a template passing the type list. When I call the print function of the class with a some types not specified they ar
You could take your arguments by non-const reference, forcing them to be the exact same type. However you can no longer use it with const variables or literals.