BinaryHeap is a range so it goes in std.range. Agree?

Simen kjaeraas simen.kjaras at gmail.com
Wed Jun 9 13:24:47 PDT 2010


Andrei Alexandrescu <SeeWebsiteForEmail at erdani.org> wrote:

> Having a module and a package with the same name does not currently  
> work, and I don't think there's a good rationale for that limitation.

//////////////
module a;
public import a.b;

struct b {
     static int c;
}

//////////////
module a.b;

int c;

//////////////
module foo;

import a;

a.b.c = 3; // Where's you lookup rules now?

-- 
Simen


More information about the Digitalmars-d mailing list