NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Compiler Error C2495

'identifier' : 'nothrow' can only be applied to function declarations or definitions

The nothrow extended attribute can be applied to function declarations or definitions only. The following code generates this error.

Example

__declspec(nothrow) class X {
   int m_data;
} x;