March 06, 2007 template library? | ||||
---|---|---|---|---|
| ||||
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). |
March 06, 2007 Re: template library? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Neal Becker | 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 |
Copyright © 1999-2021 by the D Language Foundation