STL like Vector,Pair, Map

Bruce Adams tprtpose_74 at yeah.who.co.uk
Tue Nov 13 09:04:57 PST 2007


torhu Wrote:

> BLS wrote:
> > I guess the most wanted STL containers are (at least for me) Vector, 
> > Pair, Map.  and yep, I know that we have dyn. and asso. arrays but I 
> > have to translate and port a lot of C++ stuff, using these containers. 
> > This also means that the Java like Tango container impl. is not exactly 
> > what I want.
> > 
> > Ideas ?
> 
> You could try Indigo as a starting point.  It's got STL-compatible 
> Vector and Map.  Be warned that it's a long since dead project, but I 
> updated it to at least build with DMD 1.014.  No guarantees that it 
> won't blow up your computer.  The license is LGPL, so I think you need 
> to publish either the source, or at least the object files of any app 
> you link it statically with.
> 
> http://www.dsource.org/projects/indigo

I thought the whole purpose of the LGPL is to avoid that. You should be fine with linking but should include a link to the source for the library itself somewhere in your docs. Only if its the full GPL do you have to release your app's source as well.

Regards,

Bruce.




More information about the Digitalmars-d mailing list