[Issue 9871] std.typecons.asArray

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Feb 10 23:24:05 UTC 2018


https://issues.dlang.org/show_bug.cgi?id=9871

Seb <greensunny12 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |greensunny12 at gmail.com

--- Comment #3 from Seb <greensunny12 at gmail.com> ---
> A simpler implementation:

Well, it's just:

---
tup.expand.only;
---


https://run.dlang.io/is/vJaBtM

I'm not so sure whether this will be added to Tuple, but as Tuples will
hopefully soon be part of the language, they should be first-class range
citizens too.

--


More information about the Digitalmars-d-bugs mailing list