Modify

Opened 10 years ago

Closed 8 years ago

Last modified 6 years ago

#1517 closed Feature Requests (fixed)

zip_iterator can't zip Bidirectional Input iterators

Reported by: Shunsuke Sogame <pstade.mb@…> Owned by: Dave Abrahams
Milestone: Boost 1.36.0 Component: iterator
Version: Boost Development Trunk Severity: Problem
Keywords: zip_iterator iterator Cc:

Description

zip_iterator can't zip BidirectionalInput? Iterators. See nonzippable.cpp, which doesn't compile.

Attachments (2)

nonzippable.cpp (500 bytes) - added by Shunsuke Sogame <pstade.mb@…> 10 years ago.
An example which doesn't compile
zip_iterator_traversal.patch (495 bytes) - added by Shunsuke Sogame <pstade.mb@…> 9 years ago.
The patch. Caution: this is not confirmed by the author yet.

Download all attachments as: .zip

Change History (5)

Changed 10 years ago by Shunsuke Sogame <pstade.mb@…>

Attachment: nonzippable.cpp added

An example which doesn't compile

comment:1 Changed 9 years ago by Charles Brockman <cmbrockman@…>

It should be noted that additional discussion of the topic of this ticket can be found in the boost-users mailing list thread started on 2008-02-17 with the subject line, Pairing ptr_containers with zip iterators at http://lists.boost.org/boost-users/2008/02/33967.php See also Sogame's message at http://lists.boost.org/Archives/boost/2007/11/130986.php

Changed 9 years ago by Shunsuke Sogame <pstade.mb@…>

The patch. Caution: this is not confirmed by the author yet.

comment:2 Changed 8 years ago by Dave Abrahams

Resolution: fixed
Status: newclosed

(In [58012]) category of each component iterator is reduced to a known category before we try to find a minimum. Closes #1517

comment:3 Changed 6 years ago by Daniel James

(In [70709]) Iterator: merge several changes from trunk.

  • Update iterator_facade test for #1019 (header change already merged).
  • Category of each iterator is reduced to a known category before we try to find a minimum. Fixes #1517.
  • function_input_iterator from Dean Michael Berris. Fixes #2893
  • Fix typo in boost/iterator.hpp. Fixes #3434.
  • Always include add_reference header in iterator adaptor header.

Did not merge changes for #1427.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Dave Abrahams.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.