[Issue 5939] Cannot copy std.algorithm.map

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun May 8 22:15:18 PDT 2011


http://d.puremagic.com/issues/show_bug.cgi?id=5939


Walter Bright <bugzilla at digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugzilla at digitalmars.com


--- Comment #3 from Walter Bright <bugzilla at digitalmars.com> 2011-05-08 22:11:20 PDT ---
A reduced test case:

template map(fun...) {
    auto map(Range)(Range r) {
        struct Result {
            this(double[] input) {
            }
        }

        return Result(r);
    }
}

void test() {
    double[] x;
    typeof(map!"a"(x)) a;
}

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


More information about the Digitalmars-d-bugs mailing list