Comment #0 by jarrett.billingsley — 2007-10-01T20:11:38Z
struct Tup(T...)
{
T values;
}
void foo(int x, float y)
{
}
Tup!(int, float) bar()
{
return Tup!(int, float)(4, 5.6);
}
void main()
{
foo(bar().values);
}
The issue is the call in main -- if it's changed to:
auto t = bar();
foo(t.values);
it compiles fine.