www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 2602] New: std.bind doesnt work

reply d-bugmail puremagic.com writes:
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 digitalmars.com
        ReportedBy: site.puremagic.com 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


-- 
Jan 21 2009
parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=2602


rayerd.wiz gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |DUPLICATE







*** This bug has been marked as a duplicate of 1541 ***


-- 
Jan 22 2009