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
}
เบราว์เซอร์นี้ไม่ได้รับการสนับสนุนอีกต่อไป
อัปเกรดเป็น Microsoft Edge เพื่อใช้ประโยชน์จากคุณลักษณะล่าสุด เช่น การอัปเดตความปลอดภัยและการสนับสนุนด้านเทคนิค
'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
}