Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
exception specification cannot appear in a typedef declaration
Under /Za, exception specifications are not allowed in a typedef declaration.
The following sample generates C2279:
// C2279.cpp
// compile with: /Za /c
typedef int (*xy)() throw(...); // C2279
typedef int (*xyz)(); // OK