Mechanism in a function argument alias for any type

How to do mechanism for a function argument alias for any type, as such in pointer to void argument is for any type ?
Use function templates, unless you have a really good reason not to.

Old tutorial, but still applicable: http://www.cplusplus.com/doc/oldtutorial/templates
Last edited on
Topic archived. No new replies allowed.