difference between x = Nullable.init and x.nullify

Stanislav Blinov via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Jun 2 23:41:44 PDT 2017


On Saturday, 3 June 2017 at 06:19:29 UTC, Jonathan M Davis wrote:

> looking at what rt_finalize does, I don't see why it couldn't 
> be nothrow. So, unless I'm missing something, it seems like 
> that would be a good enhancement.
>
> - Jonathan M Davis

Presently, rt_finalize cannot be made nothrow, or un-made 
@system, because "reasons":
http://forum.dlang.org/thread/aalafajtuhlvfirwfvea@forum.dlang.org

Fixing that would require significant changes to the runtime, and 
probably the compiler. I don't think it qualifies as a simple 
"enhancement" :)


More information about the Digitalmars-d-learn mailing list