#include using namespace std; template class Wrapper { public: OBJECT getValue() { return m_x; } void setValue(OBJECT x) { m_x = x; } private: OBJECT m_x; }; int main(int argc, char **argv) { cout << "There are " << argc - 1 << " command line arguments" << endl; cout << "They are: "; for (int i = 1; i < argc; i++) cout << argv[i] << " "; cout << endl; Wrapper wc1, wc2; Wrapper wi1, wi2; wc1.setValue('a'); wc2.setValue(wc1.getValue()); wi1.setValue(10); wi2.setValue(wi1.getValue()); cout << wc2.getValue() << endl; cout << wi2.getValue() << endl; }