Compiler Error C2469
'operator': cannot allocate 'type' object
An operator was passed an invalid type.
The following sample generates C2469:
// C2469.cpp
int main() {
int *i = new void; // C2469
int *i = new int; // OK
}
Tento prehliadač už nie je podporovaný.
Inovujte na Microsoft Edge a využívajte najnovšie funkcie, aktualizácie zabezpečenia a technickú podporu.
'operator': cannot allocate 'type' object
An operator was passed an invalid type.
The following sample generates C2469:
// C2469.cpp
int main() {
int *i = new void; // C2469
int *i = new int; // OK
}