[Issue 7666] A function to reverse the items of a tuple

2014-02-15 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=7666 --- Comment #13 from bearophile_h...@eml.cc 2014-02-15 03:21:05 PST --- The presence of this function solves the problem of choosing what's the right API for the Phobos-defined array.reverse: for API uniformity is should be like this one, so ar

[Issue 7666] A function to reverse the items of a tuple

2014-02-15 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=7666 Andrej Mitrovic changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution|

[Issue 7666] A function to reverse the items of a tuple

2014-02-14 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=7666 --- Comment #12 from github-bugzi...@puremagic.com 2014-02-14 23:19:56 PST --- Commits pushed to master at https://github.com/D-Programming-Language/phobos https://github.com/D-Programming-Language/phobos/commit/f9994612b8bc10133425eb144731657

[Issue 7666] A function to reverse the items of a tuple

2013-04-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7666 --- Comment #11 from Andrej Mitrovic 2013-04-06 01:07:30 PDT --- https://github.com/D-Programming-Language/phobos/pull/1248 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail bec

[Issue 7666] A function to reverse the items of a tuple

2013-04-05 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7666 --- Comment #10 from Andrej Mitrovic 2013-04-05 13:16:29 PDT --- (In reply to comment #9) > So sorry about this, I completely forgot about the string specs feature of > Tuples. I guess I was a little sleepy. Will re-do a pull tomorrow. Also a

[Issue 7666] A function to reverse the items of a tuple

2013-04-05 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7666 Andrej Mitrovic changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|FIXED

[Issue 7666] A function to reverse the items of a tuple

2013-04-05 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7666 Andrei Alexandrescu changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Issue 7666] A function to reverse the items of a tuple

2013-04-05 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7666 --- Comment #8 from github-bugzi...@puremagic.com 2013-04-05 12:37:17 PDT --- Commits pushed to master at https://github.com/D-Programming-Language/phobos https://github.com/D-Programming-Language/phobos/commit/cc7c5c5ed2b2e345a29f5e8a663db4556

[Issue 7666] A function to reverse the items of a tuple

2013-04-05 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7666 Andrej Mitrovic changed: What|Removed |Added Keywords||pull AssignedTo|nob...@purema

[Issue 7666] A function to reverse the items of a tuple

2013-04-05 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7666 --- Comment #6 from Andrej Mitrovic 2013-04-05 12:16:18 PDT --- Got something better: auto reversed(T)(T t) if (isTuple!T) { static if (is(T : Tuple!A, A...)) alias RevTypes = Reverse!A; Tuple!RevTypes result; auto tu

[Issue 7666] A function to reverse the items of a tuple

2012-10-27 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7666 --- Comment #5 from timon.g...@gmx.ch 2012-10-27 18:10:59 PDT --- (In reply to comment #4) > ... > Maybe this was a compiler limitation in earlier versions. Yup, Kenji Hara fixed that recently. -- Configure issuemail: http://d.puremagic.com/i

[Issue 7666] A function to reverse the items of a tuple

2012-10-27 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7666 --- Comment #4 from Andrej Mitrovic 2012-10-27 16:54:02 PDT --- (In reply to comment #3) > With field names Interesting, the last time I saw this syntax: static if(is(T X : Tuple!A, A...)) alias A Spec; it was in the templates book (https:/

[Issue 7666] A function to reverse the items of a tuple

2012-10-27 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7666 --- Comment #3 from timon.g...@gmx.ch 2012-10-27 16:20:46 PDT --- (In reply to comment #2) > (In reply to comment #1) > > ... > > > > If there is a non-invasive way of doing this it would be welcome. > With field names: import std.typecons,

[Issue 7666] A function to reverse the items of a tuple

2012-10-27 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7666 timon.g...@gmx.ch changed: What|Removed |Added CC||timon.g...@gmx.ch --- Comment #2 fr

[Issue 7666] A function to reverse the items of a tuple

2012-10-27 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7666 Andrej Mitrovic changed: What|Removed |Added CC||andrej.mitrov...@gmail.com --- Comme