ACE网络编程之ACE_NEW_RETURN,ACE_NEW,ACE_NEW_NORETURN-CSDN博客

网站介绍:文章浏览阅读1.5k次。ACE源码OS_Memory.h是这样定义的。# if defined (ACE_HAS_NEW_NOTHROW)# define ACE_NEW_RETURN(POINTER,CONSTRUCTOR,RET_VAL) \ do { POINTER = new (ACE_nothrow) CONSTRUCTOR; \ if (POINTER == 0) { errno =_ace_new_noreturn