@safe(bool)

Nicholas Wilson via Digitalmars-d digitalmars-d at puremagic.com
Sat Aug 19 20:02:23 PDT 2017


On Sunday, 20 August 2017 at 02:53:14 UTC, jmh530 wrote:
> On Sunday, 20 August 2017 at 00:55:41 UTC, Nicholas Wilson 
> wrote:
>>
>> Sorry, I was referring to preconfigurations in druntime like
>> https://github.com/dlang/DIPs/pull/89/files#diff-26bf588c0174e6cd0fe3d4af615bebdaL60
>
> So modifying core.attribute.defaultAttributeSet in the runtime 
> is the only way to change the default attribute set,

Yes, whether that be a custom runtime or through version 
conditions that define core.attribute.defaultAttributeSet.

>but one
> could create a custom attribute that they just use as needed. 
> So one could just look at the top of the file to see if the 
> code has something like @myDefaultAttributeSet.

Yes. Hopefully a bit more descriptive though ;)


More information about the Digitalmars-d mailing list