E2535 Incomplete type cannot be part of a throw specification (C++)

From RAD Studio
Jump to: navigation, search

Go Up to Compiler Errors And Warnings (C++) Index

This error occurs when an incomplete type is used in a throw specification. From C++ ISO 14882:1998 15.1.3 "The type of the throw-expression shall not be an incomplete type, or a pointer or reference to an incomplete type, other than void*, const void*, volatile void*, or const volatile void*." This includes exception specifications (15.4.1).