Bug 3019 – std.typetuple: add some templates

Status
RESOLVED
Resolution
FIXED
Severity
enhancement
Priority
P2
Component
phobos
Product
D
Version
D2
Platform
x86
OS
All
Creation time
2009-05-22T21:45:00Z
Last change time
2015-11-03T19:19:39Z
Keywords
patch
Assigned to
rsinfu
Creator
rsinfu
Depends on
2996

Attachments

IDFilenameSummaryContent-TypeSize
378enh_typetuple_algorithms.patchenhancementtext/plain15867

Comments

Comment #0 by rsinfu — 2009-05-22T21:45:52Z
Created attachment 378 enhancement The proposed patch adds these templates to std.typetuple: - PackedTuple, - tupleToArray, arrayToTuple, - staticFilter, staticPartition, and staticReduce. The patch also moves staticMap and allSatisfy from std.traits to std.typetuple.
Comment #1 by andrei — 2010-09-26T18:43:28Z
I'm assigning this to Shin who can operate the changes himself. Shin, feel free to close this if you think this proposal is already accounted for by your recent contributions.
Comment #2 by andrej.mitrovich — 2013-02-04T18:21:39Z
staticMap, allSatisfy are now in std.traits. I don't know about the benefits of the other ones in the attachment, I haven't seen requests for them.
Comment #3 by andrei — 2015-11-03T19:19:39Z
Closing, Shin please reopen if you plan to continue work on this.