templates

How to write a function template that simple takes two variables of the same data type and swap them?
See the tutorial on templates.
Topic archived. No new replies allowed.