DIP 1029---Add throw as Function Attribute---Community Review Round 1

Arine arine123445128843 at gmail.com
Wed Jan 15 05:31:16 UTC 2020


On Tuesday, 14 January 2020 at 23:04:02 UTC, Adam D. Ruppe wrote:
> On Tuesday, 14 January 2020 at 22:30:40 UTC, Walter Bright 
> wrote:
>> Hence, when "nothrow" becomes the default
>
> IF, not when. but I am going to fight you on the step of 
> changing the default.

Same here.

> I support this DIP as a nice independent move,

It just needs @gc, and impure and i'd say it'd be good to go.

> But, my plan here:
> http://dpldocs.info/this-week-in-d/Blog.Posted_2020_01_13.html#my-attribute-proposal---no-changes-to-defaults
>
> to make `nothrow:` (etc) go into the child scopes except 
> templates means we have a less disruptive way to make this work 
> without formally changing the defaults.

This makes more sense than what we have right now for this DIP. 
Good work.



More information about the Digitalmars-d mailing list