#ifndef CONVERTH #define CONVERTH #include //for unary_function using namespace std; template class convert: public unary_function { public: DEST operator()(const SOURCE& source) const {return DEST(source);} }; #endif