exceptions thrown by new / object constructor ?

Michal Minich michal.minich at gmail.com
Tue Nov 2 14:12:04 PDT 2010


On Tue, 02 Nov 2010 15:58:51 +0100, Don wrote:

> Jesse Phillips wrote:
>> I thought there was a Bug report on this, but I guess not. I say report
>> it. Ether it should compile or the compiler should error that a
>> constructor can not be nothrow.
> 
> This has already been fixed in svn, and will be in the next release. See
> bug 3020.
> nothrow is painful and limited in 2.050, but should be quite usable in
> 2.051.

Great! Many thanks! This issue has greatly limited nothrow usage because 
'new' is so common.


More information about the Digitalmars-d-learn mailing list