C++ Ranges proposal for the Standard Library
Andrei Alexandrescu via Digitalmars-d
digitalmars-d at puremagic.com
Fri Oct 17 08:08:14 PDT 2014
On 10/17/14, 2:17 AM, ZombineDev wrote:
> I saw [this][0] proposal for adding ranges to C++'s standard
> library. The [paper][1] looks at D style ranges, but concludes:
>
>> Since iterators can implement D ranges, but D ranges cannot be used to
>> implement iterators, we conclude that iterators form a more powerful
>> and foundational basis.
>
> What do you guys think?
>
> [0]: https://isocpp.org/blog/2014/10/ranges
> [1]: https://ericniebler.github.io/std/wg21/D4128.html
Yeah, it's true and somewhat self-evident in the sense that structure
build upward (more structure from less). In the same vein pointers are
more powerful than slices and untyped data more powerful than typed data.
Andrei
More information about the Digitalmars-d
mailing list