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
}
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for