Kompilatorfel C2389

operator: illegal operand "nullptr"

Anmärkningar

nullptr kan inte vara en operand.

Example

I följande exempel genereras C2389:

// C2389.cpp
// compile with: /clr
int main() {
   throw nullptr;   // C2389
}