0001 template <typename T> struct Double //函数对象:倍增一个T类对象 0002 { void operator()(T& e) { e *= 2; } }; //约定T可直接倍增