www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - template library?

reply Neal Becker <ndbecker2 gmail.com> writes:
Where would I learn about the D equivalent of the STL?

I'm particularly interested in whether there is a template library that uses
a range concept, similar to boost::range (because I really like it and
heavily use it).
Mar 06 2007
parent Sean Kelly <sean f4.ca> writes:
Neal Becker wrote:
 Where would I learn about the D equivalent of the STL?
 
 I'm particularly interested in whether there is a template library that uses
 a range concept, similar to boost::range (because I really like it and
 heavily use it).

Matthew Wilson's DTL is about as close as you can get to the STL for D, and I'm almost certain it has support for ranges. It is incomplete and horribly out of date however, as Matthew has been busy writing books for the past year or so. But if you're interested, here's a link: http://synesis.com.au/synsoft/d/code/ For other STL-like tools, Cashew contains an set of algorithms for arrays: http://www.dsource.org/projects/cashew/browser/trunk/cashew/utils/array.d As does Tango: http://www.dsource.org/projects/tango/browser/trunk/tango/core/Array.d Sean
Mar 06 2007