[Issue 2602] New: std.bind doesnt work

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Jan 21 17:17:48 PST 2009


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

           Summary: std.bind doesnt work
           Product: D
           Version: 2.023
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla at digitalmars.com
        ReportedBy: site.puremagic.com at brianguertin.com


I cant seem to get std.bind to do anything anymore

import std.bind;

void foo() {
}

void main() {
    auto dg = bind(&foo);
}


$ dmd test.d
... std/traits.d(96): Error: argument EmptySlot to typeof is not an expression


-- 



More information about the Digitalmars-d-bugs mailing list