I came across this code but I couldn't understand it:
void *operator new(unsigned int some_variable)
-> Here new
is a function but I can't understand what void *operator
is doing and here is the complete code:
int buf[3];
void *operator new(unsigned int uiSize)
{
return (void *)buf;
}