How delegate from copy constructor to universal copy constructor template?
问题 If I want to write a universal copy constructor (one that will take any argument type), it's easy enough to do: class Widget { public: template<typename T> Widget(T&& other); }; This won't prevent the compiler from generating a traditional copy constructor, so I'd like to write that myself and delegate to the template. But how do I do that? class Widget { public: template<typename T> Widget(T&& other); Widget(const Widget& other): ??? {} // how delegate to the template? }; I tried to write