std.range.zip and tuple labels

Joseph Rushton Wakeling joseph.wakeling at webdrake.net
Wed May 15 10:51:02 PDT 2013


Hi all,

If I use zip() to collate together one or more ranges, the individual elements
get returned as a Tuple of the corresponding types.

Is there any way to get zip to label those elements, i.e. to return e.g.

	Tuple!(int, "one", float, "two")

instead of

	Tuple!(int, float)

.... ?


More information about the Digitalmars-d-learn mailing list