~= call copy ctor?

Jonathan M Davis jmdavisProg at gmx.com
Sun Jul 22 00:55:16 PDT 2012


On Sunday, July 22, 2012 09:48:39 Namespace wrote:
> The strange constructs in std.algorithm aren't something i like
> to use in real projects. Is there some other solution?

And what's so strange about them? That they use ranges? If you start avoiding 
ranges, you're going to be missing out on a large portions of the standard 
library very quickly and will be left on your own to provide that 
functionality or provide it elsewhere. Phobos is very heavily range based and 
only becoming more so.

If you haven't read this tutorial on ranges yet, you probably should:

http://ddili.org/ders/d.en/ranges.html

- Jonathan M Davis


More information about the Digitalmars-d-learn mailing list