[phobos] Ranges using runtime interfaces

Andrei Alexandrescu andrei at erdani.com
Mon Oct 25 16:15:31 PDT 2010


I think that's a good suggestion that hasn't been implemented yet. Is 
there a practical reason, or just not getting to it?

Thanks,

Andrei

On 8/20/10 20:26 CDT, Shin Fujishiro wrote:
> David Simcha<dsimcha at gmail.com>  wrote:
>> In addition to the changes I made last night, I've also made the
>> following changes:
>>
>> 1.  Change name to inputRangeObject/InputRangeObject.
>> 2.  Add support for output ranges as outputRangeObject/OutputRangeObject.
>> 3.  Remove the now ridiculous looking Hungarian notation on the interfaces.
>>
>> http://pastebin.com/U83YNJfJ is where it's at.
>>
>> Any more comments from anyone, or does this look ready to be checked in?
>
> Could you make OutputRangeObject able to accept multiple element types?
>
> template outputRangeObject(E...) {
>      auto outputRangeObject(R)(R range) { ... }
> }
>
>
> Shin
> _______________________________________________
> phobos mailing list
> phobos at puremagic.com
> http://lists.puremagic.com/mailman/listinfo/phobos


More information about the phobos mailing list