在C++ 0x中转发所有父构造函数的正确方法是什么?
我一直这样做:
class X: public Super { template<typename... Args> X(Args&&... args): Super(args...) {} };
c++ templates constructor c++11
c++ ×1
c++11 ×1
constructor ×1
templates ×1