Bemærk
Adgang til denne side kræver godkendelse. Du kan prøve at logge på eller ændre mapper.
Adgang til denne side kræver godkendelse. Du kan prøve at ændre mapper.
'identifier' : 'nothrow' can only be applied to function declarations or definitions
Remarks
The nothrow extended attribute can be applied to function declarations or definitions only.
Example
The following example generates C2495:
// C2495.cpp
// compile with: /c
__declspec(nothrow) class X { // C2495
int m_data;
} x;
__declspec(nothrow) void test(); // OK