[Boost-bugs] [Boost C++ Libraries] #1888: Why doesn't InputIterator require that reference is convertible to value_type?

Subject: [Boost-bugs] [Boost C++ Libraries] #1888: Why doesn't InputIterator require that reference is convertible to value_type?
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2008-05-01 19:34:50


#1888: Why doesn't InputIterator require that reference is convertible to
value_type?
--------------------------+-------------------------------------------------
 Reporter: eric_niebler | Owner: dave
     Type: Bugs | Status: new
Milestone: Boost 1.36.0 | Component: concept_check
  Version: Boost 1.35.0 | Severity: Problem
 Keywords: |
--------------------------+-------------------------------------------------
 Bug title says it all. boost::InputIterator doesn't enforce any
 relationship between the reference and value_type associated types. Seems
 wrong to me, but perhaps there is a reason.

 It also doesn't check that the type of dereferencing an input iterator is
 reference.

--
Ticket URL: <http://svn.boost.org/trac/boost/ticket/1888>
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:49:57 UTC