Sdílet prostřednictvím


Chyba kompilátoru C2389

'operator' : illegal operand 'nullptr'

Poznámky

nullptr nemůže být operand.

Example

Následující příklad vygeneruje C2389:

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