"tuple unpacking" with zip?
Shriramana Sharma via Digitalmars-d
digitalmars-d at puremagic.com
Wed Oct 21 05:06:57 PDT 2015
John Colvin wrote:
> static assert(is(ElementType!string == dchar));
But this is false, no? Since ElementType!string is char and not dchar?
> foreach(int i, dchar c; zip(ints, chars))
> or
> foreach(i, c; zip(ints, chars))
What's the diff betn char and dchar in this particular context?
--
Shriramana Sharma, Penguin #395953
More information about the Digitalmars-d
mailing list