nothrow by default

Adam D. Ruppe destructionator at gmail.com
Sat Jan 4 16:15:18 UTC 2020


On Saturday, 4 January 2020 at 16:05:10 UTC, Steven Schveighoffer 
wrote:
> We we going to get a new keyword/uda?

this should be done regardless of defaults! for ALL these 
attributes. We should do that and perhaps figure out it going 
into scopes too.

nothrow:
struct A {
    void foo() throws {} // the nothrow could be inherited from 
outside if it is overridable inside.
}


nothrow by default btw I'm.... concerned about. but if we fixed 
the anti-attributes and descending into scopes it is far more 
manageable regardless of default.


More information about the Digitalmars-d mailing list