D's metaprogramming could be flawed

maik klein via Digitalmars-d digitalmars-d at puremagic.com
Sat Jan 23 04:18:26 PST 2016


On Saturday, 23 January 2016 at 12:13:16 UTC, maik klein wrote:
> On Friday, 22 January 2016 at 14:19:30 UTC, rsw0x wrote:
>> [...]
>
> I think that should work but it only works because you do an 
> implicit conversion with get which is quite nice.
>
> [...]

I forgot to show what `tref` was in my last comment.

int i  = 1;
int i2 = 2
auto tref = TupleRef!(int,int)(i, i2);


More information about the Digitalmars-d mailing list