D
Dennis George
Hi all,
I was in the assumption that "new" by default throws an exception and
if you want "new" to return NULL you use "std::nothrow"....
So I like to know that whether my assumption is correct or not......
Following are some of the links that supports my argument.....
http://www.informit.com/guides/content.asp?g=cplusplus&seqNum=170
http://www.csci.csusb.edu/dick/c++std/cd2/expr.html#expr.new ---
Point 16
Following are some of the links that says the other story....
http://www.csci.csusb.edu/dick/c++std/cd2/expr.html#expr.new ---
Point 13
http://msdn.microsoft.com/library/d...en-us/vccore98/HTML/_langref_new_operator.asp
So can you tell me who is correct... basically I am confused by the
point-13 and point-16 of the standard.....
So what will I expect in the compilers I will be using????
Regards,
Dennis
I was in the assumption that "new" by default throws an exception and
if you want "new" to return NULL you use "std::nothrow"....
So I like to know that whether my assumption is correct or not......
Following are some of the links that supports my argument.....
http://www.informit.com/guides/content.asp?g=cplusplus&seqNum=170
http://www.csci.csusb.edu/dick/c++std/cd2/expr.html#expr.new ---
Point 16
Following are some of the links that says the other story....
http://www.csci.csusb.edu/dick/c++std/cd2/expr.html#expr.new ---
Point 13
http://msdn.microsoft.com/library/d...en-us/vccore98/HTML/_langref_new_operator.asp
So can you tell me who is correct... basically I am confused by the
point-13 and point-16 of the standard.....
So what will I expect in the compilers I will be using????
Regards,
Dennis