Local functions infer attributes?

Walter Bright via Digitalmars-d digitalmars-d at puremagic.com
Sun Sep 28 22:16:09 PDT 2014


On 9/28/2014 9:23 PM, Timon Gehr wrote:
> On 09/29/2014 04:43 AM, Walter Bright wrote:
>>
>> You're right that tuples in D cannot contain storage classes
>
> void foo(ref int x){}
> alias p=ParameterTypeTuple!foo;
> pragma(msg, p); // (ref int)
>
> (But this does not help.)

You're right, I had forgotten about that.


More information about the Digitalmars-d mailing list