[Issue 4273] Error: functions cannot return a tuple

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Jun 4 16:55:12 PDT 2010


http://d.puremagic.com/issues/show_bug.cgi?id=4273


bearophile_hugs at eml.cc changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bearophile_hugs at eml.cc


--- Comment #1 from bearophile_hugs at eml.cc 2010-06-04 16:55:10 PDT ---
I don't understand the purpose of your code, but I think the problems are in
your code.

Maybe in fooRet you meant to use:
alias T[0] fooRet;

You can also use:
auto foo(T...)(T vals)

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list