zip with fieldTuple

bearophile via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Jun 6 15:34:37 PDT 2014


John:

> C:\D\dmd2\windows\bin\..\..\src\phobos\std\range.d(3808): 
> Error: template std.range.zip cannot deduce template function 
> from argument types !()((int, float),string[])

By the way, I find it surprising that D/Phobos give a so good 
error message for a so messed up situation. I don't think there 
are many system languages able to give a so nice error message 
when you try to zip types with values.

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list