I wonder if tuple should automatically expand (flatten) into a list of arguments not only when used with template parameters, but with regular functions as well. This so, that it would enable composition of tuple returning functions with functions that take in individual arguments instead of a tuple, enabling that:

Tuple!(int, int) getTuple()
{
    //...
}

void fun(int arg1, int arg2)
{
    //...
}

void main()
{
    fun( getTuple() );
}

Reply via email to