|
Boost : |
From: dan marsden (danmarsden_at_[hidden])
Date: 2006-10-07 12:25:19
David Abrahams wrote:
>Joel de Guzman <joel_at_[hidden]> writes:
>
>> However, since we can also detect at compile time the sizes of
>> sequences, we can enforce that requirement. I think the zip_view
>> does that already.
>
>IMO a zip_view should have the same length as the shortest component.
That does seem to be more consistent with a variety of other languages and
libraries zip behaviour.
Fusion zip has now been altered to zip up to the length of the shortest
input sequence, in line with popular convention.
Cheers
Dan
___________________________________________________________
Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail http://uk.messenger.yahoo.com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk