[Boost-bugs] [Boost C++ Libraries] #5962: iterator_range assign

Subject: [Boost-bugs] [Boost C++ Libraries] #5962: iterator_range assign
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-09-29 11:59:05


#5962: iterator_range assign
----------------------------------+-----------------------------------------
 Reporter: olafvdspek@… | Owner: neilgroves
     Type: Feature Requests | Status: new
Milestone: To Be Determined | Component: range
  Version: Boost 1.47.0 | Severity: Problem
 Keywords: |
----------------------------------+-----------------------------------------
 Could you add assign() to make it easier to update the iterators after
 construction?

 I'd avoid code like this:
 static_cast<iterator_range_&>(*this) =
 iterator_range_(reinterpret_cast<T>(begin), reinterpret_cast<T>(end));

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