Sdílet prostřednictvím


Chyba kompilátoru C3698

'type' : tento typ nelze použít jako argument operátoru.

Poznámky

Spravovaný objekt byl deklarován nesprávně.

Example

Následující příklad generuje C3698:

// C3698.cpp
// compile with: /clr

int main() {
   array<int>^a = new array<int>^(20);   // C3698
   array<int>^a2 = gcnew array<int>(20);   // OK
}