// A1_5.cpp #pragma warning(disable : 4786) #include #include #include using namespace std; template set getChars(const string &s) { set cs; int i; for(i=0; i cs = getChars("this is a string"); // explicit instantiation, , is necessary set::iterator it; for(it=cs.begin(); it!=cs.end(); it++) cout << *it; cout << "\n\n"; }