// FILE: swap.h // // template // void swap(Item& x, Item& y) // Postcondition: The values of x and y have been interchanged, so that // y now has the original value of x, and vice versa. Note: Item may be any // of the C++ built-in types (int, char, etc.), or a class with an // assignment operator and a default constructor. #ifndef _SWAP_H // Prevent duplicate definition #define _SWAP_H // remove the following typedef statement typedef int Item; // Fill in - add a template prefix. void swap(Item& x, Item& y); // Fill in - include the swap implmentation file "swap.tem" #endif