Mitigating the attribute proliferation - attribute inference for functions

Meta via Digitalmars-d digitalmars-d at puremagic.com
Fri Jul 17 12:23:22 PDT 2015


On Friday, 17 July 2015 at 18:11:46 UTC, Martin Nowak wrote:
> On Friday, 17 July 2015 at 17:54:52 UTC, Marc Schütz wrote:
>> In general, I'm not sure why you choose to go the way of 
>> abolishing the attributes. Didn't you have a concept for 
>> inference that would mostly solve the problems?
>
> Because I want to overhaul smart pointers/refs (Unique, RC).
> A seemingly trivial task, should take a few hours, but I 
> already spent days to hack around all the attribute issues.

What are the specific issues? I've encountered attribute hell as 
well, but with const/immutable/inout as opposed to 
pure/nothrow/@nogc/@safe.


More information about the Digitalmars-d mailing list