You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not an issue, operator new will never return NULL if it is not the nothrow version of the operator which is called:
#include<new>structFoo {};
// In this form, new never return NULL if there is no memory left.// Instead it will call std::abort
Foo* fooCannotBeNULL = new Foo;
// In this form, new will return NULL if there is no memory left.
Foo* fooCanBeNULL = new(std::nothrow) Foo;
http://developer.mbed.org/forum/mbed/topic/433/?page=2#comment-27122
The text was updated successfully, but these errors were encountered: