[Boost-bugs] [Boost C++ Libraries] #6240: iterator_size

Subject: [Boost-bugs] [Boost C++ Libraries] #6240: iterator_size
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-12-08 10:43:21


#6240: iterator_size
------------------------------------------------------+---------------------
 Reporter: Olaf van der Spek <olafvdspek@…> | Owner: dave
     Type: Feature Requests | Status: new
Milestone: To Be Determined | Component: iterator
  Version: Boost 1.48.0 | Severity: Problem
 Keywords: |
------------------------------------------------------+---------------------
 Could you add iterator_size to boost/iterator/iterator_traits.hpp?

 It'd be size_t for pointers and, since std::iterator_traits does not yet
 define size_type, make_unsigned iterator_difference.

 It'd be used for the size of a range as given by a valid pair of
 iterators.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/6240>
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:08 UTC