
12 Feb
2013
12 Feb
'13
7:13 p.m.
12.02.2013 22:37, Nathan Ridge:
By the way, is combine in boost/range/combine.hpp in public api? I don't see it on website.
Nice find! I've been missing a zip_range! A few useful additions would be a corresponding adaptor
Do you mean 'r1 | zipped(r2)' in the place of 'zip(r1, r2)'?
Somehow the asymmetry of that offends me...
I agree. Especially if consider possible syntax: 1. zip(r1,r2,r3) 2. r1 | zipped(r2) | zipped(r3) Second is similar to zip(zip(r1,r2),r3) if express in terms of first. But I don't see quick and straightforward way how to express first in terms of second. Maybe something non-obvious and wild like: a) r1 | zipped(r2) | merge_zipped(r3) or b) r1 | merge_if_zipped(r2) | merge_if_zipped(r3) ? -- Evgeny Panasyuk