Visual studio 2010 修改的winnt.h
我在visual studio 2010中意外更改了此文件Visual studio 2010 修改的winnt.h,visual-studio-2010,visual-studio,Visual Studio 2010,Visual Studio,我在visual studio 2010中意外更改了此文件 C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\winnt.h 我在这里修改了arround: 1082 extern "C++" // templates cannot be declared to have 'C' linkage 1083 template <typedef T, size_t N> 1084 char (*RtlpNumberO
C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\winnt.h
我在这里修改了arround:
1082 extern "C++" // templates cannot be declared to have 'C' linkage
1083 template <typedef T, size_t N>
1084 char (*RtlpNumberOf( UNALIGNED T (&)[N] ))[N];
1085
1086 #define RTL_NUMBER_OF_V2(A) (sizeof(*RtlpNumberOf(A)))
1082 extern“C++”//模板不能声明为具有“C”链接
1083模板
1084字符(*RtlpNumberOf(未对齐的T(&)[N]))[N];
1085
1086 35;定义2(A)的RTL#U编号(sizeof(*RtlpNumberOf(A))的RTL#U编号)
如果有人有这个文件的相同版本,你能给我发送这个部分的好代码吗
提前感谢刚刚在其他地方找到了来源。问题是
template <typedef T, size_t N>
模板
应该是模板
template <typename T, size_t N>
模板