[Boost-bugs] [Boost C++ Libraries] #3450: Bug into boost::python::stl_input_iterator

Subject: [Boost-bugs] [Boost C++ Libraries] #3450: Bug into boost::python::stl_input_iterator
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-09-15 07:53:33


#3450: Bug into boost::python::stl_input_iterator
------------------------------------+---------------------------------------
 Reporter: micdestefano@… | Owner: dave
     Type: Bugs | Status: new
Milestone: Boost 1.41.0 | Component: Python
  Version: Boost 1.40.0 | Severity: Problem
 Keywords: multiple traverse |
------------------------------------+---------------------------------------
 I noticed that if you try to traverse more than once the range (begin,end)
 obtained with the `stl_input_iterator`, you don't get the expected
 results.[[BR]]
 [[BR]]
 Please, look at the attached code (rangemodule.cpp) and at the usage from
 the python console (python_console.txt).[[BR]]
 [[BR]]
 The problem is given by the call to the `std::distance` function.[[BR]]
 If you build with `-DWORK_AROUND` the problem disappears, but I need to
 call `std::distance`, because it is the original class that calls it (and
 I prefer not to modify it simply for building a python extension).

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/3450>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:01 UTC