This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

I'm trying to use new(std::nothrow) in my code to check if new allocated the memory

 SignalVectorCplxS16* c = new (std::nothrow) SignalVectorCplxS16[FPGA_NUM_SAMPLES_RX];

What file do I need to include?

 error: namespace "std" has no member "nothrow"

 

I don't see and thing in the library addressing nothrow