Attribute inference for auto functions?

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Wed Apr 17 08:14:25 PDT 2013


On 4/17/13 8:09 AM, Andrej Mitrovic wrote:
> On 4/17/13, Regan Heath<regan at netmail.co.nz>  wrote:
>> Solution:  You use 'auto' and compile the code producing a .di.  With the
>> fix Andrei mentioned the .di has the full and complete function signature,
>> without 'auto', including return type and all deduced attributes etc.
>
> This doesn't work with voldemort types.

It's not supposed to; voldemort functions are by definition non-modular.

Andrei


More information about the Digitalmars-d mailing list