我想知道如何存储我的模板,我写一个例子:classcDebugInfo{private:DWORD*address;stringname;templateType;public:TypeGetFormattedValue(){return*(Type*)address;}cDebugInfo(){}templatecDebugInfo(DWORDAddress,stringName){address=Address;name=Name;Type=T;}};我的目标是能够向我的数组中添加一个项目:std::vectorDebugItems;templatevoidAddItem(std: