Hi Akira
Hi, Robert2012/12/10 Robert Jones <robertgbjones@gmail.com>
I was disappointed to discover that I can't writerange | filtered( some_predicate ) | sliced( n, m ) | .....because sliced requires a random access range, and filtered produces a forward range!Piffle.It seems such a useful and obvious use-case. Is this restriction really necessary?Thx, Rob.I think this spec is unnecessity restriction.My OvenToBoost's "taken" and "dropped" adaptors requirement is SinglePassRange.I can write follow:range | filtered(some_predicate) | dropped(n) | taken(m)This extension is now proposing to Boost.Range.I think "sliced" adaptor should be same requirements.
>>========================
Akira Takahashi
site: https://sites.google.com/site/faithandbrave/about/en
_______________________________________________
Boost-users mailing list
Boost-users@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users