DIP54 : revamp of Phobos tuple types

Dicebot public at dicebot.lv
Mon Jan 20 04:36:03 PST 2014


On Thursday, 16 January 2014 at 19:15:49 UTC, deadalnix wrote:
> The thing is that you can build non expanding tuples on top of
> expanding ones, not the other way around. So I think the 
> language
> should have buitin expanding tuples (and renamed something else
> than tuple).

Wait what?

template ExpandingArgList(T...) // assuming T is non-expanding
{
     alias ExpandingArgList = T.expand;
}


More information about the Digitalmars-d mailing list