Summary: std.bind appears broken/missing
           Product: D
           Version: 2.040
          Platform: x86_64
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos

--- Comment #0 from Steve Teale <> 2010-02-07 
03:20:28 PST ---
If I attempt to use minNumArgs, as in:

import std.bind;
import std.stdio;

void foo(int a, int b, int c = 0) {}

void main()
   int n = minNumArgs!(foo);
   writefln("min args %d", n);

I get: std/bind.d(307): Error: void initializer has no value

Trying to use other facilities from bind, when linking I get:

undefined reference to `_D3std4bind12__ModuleInfoZ'

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to