Container access in std.container

Jonathan M Davis jmdavisProg at gmx.com
Tue Mar 29 01:55:35 PDT 2011


On 2011-03-29 01:45, Ishan Thilina wrote:
> >So how can I declare a redBlackTree...?
> 
> I'm so sorry for being this much foolish. I found the way to do it( make a
> redBlackTree). Again I'm really sorry :-/.
> 
> now all that is left is the problem with GDC. Why can't I do "import
> std.container" in Linux :(

Unless you really need gdc, I'd just suggest using dmd. It's quite easy to get 
working. You just unzip it wherever you want it and add 
/path/to/unzipped/dmd2/linux/bin to your path, and it works. I have no clue 
what it takes to get gdc to work. And the only advantage to gdc I'm aware of 
is that its backend tends to generate more efficient code than dmd's currently 
does.

- Jonathan M Davis


More information about the Digitalmars-d-learn mailing list