Nóta
Teastaíonn údarú chun rochtain a fháil ar an leathanach seo. Is féidir leat triail a bhaint as shíniú isteach nó eolairí a athrú.
Teastaíonn údarú chun rochtain a fháil ar an leathanach seo. Is féidir leat triail a bhaint as eolairí a athrú.
'construct' : '__declspec(modifier)' can only be applied to a function returning a pointer
Remarks
A function whose return value is a pointer is the only construct to which modifier can be applied.
Example
The following example generates C2710:
// C2710.cpp
__declspec(restrict) void f(); // C2710
// try the following line instead
__declspec(restrict) int * g();