नोट
इस पृष्ठ तक पहुंच के लिए प्राधिकरण की आवश्यकता होती है। आप साइन इन करने या निर्देशिकाएँ बदलने का प्रयास कर सकते हैं।
इस पृष्ठ तक पहुंच के लिए प्राधिकरण की आवश्यकता होती है। आप निर्देशिकाएँ बदलने का प्रयास कर सकते हैं।
'type' : exception-declaration cannot be 'void' or denote an incomplete type or pointer or reference to an incomplete type
Remarks
For a type to be part of an exception declaration, it must be defined and not void.
Example
The following example generates C2687:
// C2687.cpp
class C;
int main() {
try {}
catch (C) {} // C2687 error
}
Possible resolution:
// C2687b.cpp
// compile with: /EHsc
class C {};
int main() {
try {}
catch (C) {}
}