#ifndef MYTEMPLATES_H #define MYTEMPLATES_H ////////Template Functions ///////////////////////////////////////////////// //template function to print out the container contents. //implementation with iterators, works with any type container template void dump(myIter begin, myIter end){ for (myIter it=begin; it!=end; it++) cout << *it << endl; } //template function to print one element the container contents one-by-one template void print(T arg){ cout << arg << endl; } #endif