2

Seems like it never happened to anyone so I guess I'm doing something wrong... The error I get is:

error: expected ';' at end of member declaration
error: 'noexcept' does not name a type

the code is this:

void* operator new (size_t size) noexcept
    {return foo(size);}

also the code is in macro actually, if it matters.

Thanks!

user3445972
  • 94
  • 2
  • 10

0 Answers0