'construct' : '__declspec(modifier)' は、ポインターを返す関数にのみ適用できます
注釈
戻り値がポインターである関数が、modifier を適用できる唯一のコンストラクトです。
例
次の例では C2710 が生成されます。
// C2710.cpp
__declspec(restrict) void f(); // C2710
// try the following line instead
__declspec(restrict) int * g();