‘operator’: cannot allocate ‘type’ object
You could reproduce this error with the following code example:
int *i = new void;