Modify

Ticket #1517 (closed Feature Requests: fixed)

Opened 6 years ago

Last modified 3 years ago

zip_iterator can't zip Bidirectional Input iterators

Reported by: Shunsuke Sogame <pstade.mb@…> Owned by: dave
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

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

Change History

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

An example which doesn't compile

comment:1 Changed 6 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 6 years ago by Shunsuke Sogame <pstade.mb@…>

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

comment:2 Changed 4 years ago by dave

  • Status changed from new to closed
  • Resolution set to fixed

(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 3 years ago by danieljames

(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.

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


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

 
Note: See TracTickets for help on using tickets.