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 from timon.g...@gmx.ch 2012-10-27 15:59:04 PDT ---
(In reply to comment #1)
> ...
> 
> If there is a non-invasive way of doing this it would be welcome.

import std.typecons, std.conv, std.range, std.algorithm;

auto reversed(T)(T t) if(isTuple!T){
    return
mixin(`tuple(`~iota(T.length).retro.map!(a=>text("t[",a,"]")).join(",")~`)`);
}

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to