Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/cplusplus/162.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C++ 非泛型声明C++;_C++ - Fatal编程技术网

C++ 非泛型声明C++;

C++ 非泛型声明C++;,c++,C++,我有一个问题,你想如何帮助我 编译错误 public delegate int delegateZeroParam(IntPtr pValue) where T : new(); 帮助我:(您没有声明泛型函数,因此t不引用任何内容。添加泛型函数或删除其中的t:new();

我有一个问题,你想如何帮助我

编译错误

 public delegate int delegateZeroParam(IntPtr pValue) where T : new();

帮助我:(

您没有声明泛型函数,因此
t
不引用任何内容。添加泛型函数或删除
其中的t:new();