Boost C++ Libraries: Ticket #5962: iterator_range assign https://svn.boost.org/trac10/ticket/5962 <p> Could you add assign() to make it easier to update the iterators after construction? </p> <p> I'd avoid code like this: static_cast&lt;iterator_range_&amp;&gt;(*this) = iterator_range_(reinterpret_cast&lt;T&gt;(begin), reinterpret_cast&lt;T&gt;(end)); </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/5962 Trac 1.4.3 viboes Tue, 10 Sep 2013 20:33:30 GMT <link>https://svn.boost.org/trac10/ticket/5962#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/5962#comment:1</guid> <description> <p> Could you be more precise? What about providing a patch? </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Neil Groves</dc:creator> <pubDate>Mon, 24 Feb 2014 18:35:44 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/5962#comment:2 https://svn.boost.org/trac10/ticket/5962#comment:2 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> The snippet of code you provided looks like it is for use within a derived class. I have added assign from both iterators and a range in a recent commit. </p> Ticket