Feedback Thread: DIP 1029--Add throw as Function Attribute--Final Review
Tove
tove at fransson.se
Fri Apr 17 13:03:55 UTC 2020
On Friday, 17 April 2020 at 11:30:27 UTC, Mike Parker wrote:
> This is the feedback thread for the Final Review of DIP 1029,
> "Add throw as Function Attribute".
> https://github.com/dlang/DIPs/blob/9db80ddadcf5a220958ddcfec14b9c71cdb43d1c/DIPs/DIP1029.md
>
I like it, but would prefer:
throw!bool
1) makes meta-programming easier
2) would allow deprecating nothrow (in very long term)
3) there is precedence in C++ 'noexcept(expression)'
(even if they made the wrong choice with using the negated
specifier)
Any arguments against?
More information about the Digitalmars-d
mailing list