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
https://d.puremagic.com/issues/show_bug.cgi?id=7666
Andrej Mitrovic changed:
What|Removed |Added
Status|REOPENED|RESOLVED
Resolution|
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
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
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
http://d.puremagic.com/issues/show_bug.cgi?id=7666
Andrej Mitrovic changed:
What|Removed |Added
Status|RESOLVED|REOPENED
Resolution|FIXED
http://d.puremagic.com/issues/show_bug.cgi?id=7666
Andrei Alexandrescu changed:
What|Removed |Added
Status|NEW |RESOLVED
CC|
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
http://d.puremagic.com/issues/show_bug.cgi?id=7666
Andrej Mitrovic changed:
What|Removed |Added
Keywords||pull
AssignedTo|nob...@purema
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
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
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:/
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,
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
http://d.puremagic.com/issues/show_bug.cgi?id=7666
Andrej Mitrovic changed:
What|Removed |Added
CC||andrej.mitrov...@gmail.com
--- Comme
15 matches
Mail list logo