Compiler Error C2279
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
Athugasemdir
https://aka.ms/ContentUserFeedback.
Væntanlegt: Á árinu 2024 munum við hætta með GitHub-mál sem ábendingaleið fyrir efni og skipta því út fyrir nýtt ábendingakerfi. Frekari upplýsingar er að finna hér:Senda inn og skoða endurgjöf fyrir