G
George2
Hello everyone,
Why "if classes provide their own new but forget to provide nothrow
new too, nothrow new will be hidden and won't even work."
http://www.gotw.ca/publications/mill16.htm
BTW: I understand we should avoid nothrow new, and now I am just
interested to know why if only provide normal new, there will be
issues?
thanks in advance,
George
Why "if classes provide their own new but forget to provide nothrow
new too, nothrow new will be hidden and won't even work."
http://www.gotw.ca/publications/mill16.htm
BTW: I understand we should avoid nothrow new, and now I am just
interested to know why if only provide normal new, there will be
issues?
thanks in advance,
George