Boost logo

Boost-Commit :

From: dgregor_at_[hidden]
Date: 2008-06-09 17:09:33


Author: dgregor
Date: 2008-06-09 17:09:33 EDT (Mon, 09 Jun 2008)
New Revision: 46283
URL: http://svn.boost.org/trac/boost/changeset/46283

Log:
Finish off the set of issues
Added:
   sandbox/committee/concepts/issues/issues/issue43.xml (contents, props changed)
Text files modified:
   sandbox/committee/concepts/issues/issues/issue39.xml | 2 ++
   1 files changed, 2 insertions(+), 0 deletions(-)

Modified: sandbox/committee/concepts/issues/issues/issue39.xml
==============================================================================
--- sandbox/committee/concepts/issues/issues/issue39.xml (original)
+++ sandbox/committee/concepts/issues/issues/issue39.xml 2008-06-09 17:09:33 EDT (Mon, 09 Jun 2008)
@@ -28,6 +28,8 @@
   be changed to <code>ForwardIterator</code> without breaking any
   code. This makes it possible, for example, to pass a sequence of
   move-only types into <code>replace</code>.</p>
+
+ <p><code>swap_ranges</code> has the same issue.</p>
 </discussion>
 
 </issue>

Added: sandbox/committee/concepts/issues/issues/issue43.xml
==============================================================================
--- (empty file)
+++ sandbox/committee/concepts/issues/issues/issue43.xml 2008-06-09 17:09:33 EDT (Mon, 09 Jun 2008)
@@ -0,0 +1,30 @@
+<?xml version='1.0' encoding='iso-8859-1' standalone='no'?>
+<!DOCTYPE issue SYSTEM "lwg-issue.dtd" [
+ <!ENTITY nbsp "&#160;">
+] >
+
+<issue num="43" status="New">
+ <title>Using <code>Swappable</code> for all swapping</title>
+<section><sref ref="[algorithms]"/></section>
+<submitter>LWG</submitter>
+<date>9 Jun 2008</date>
+
+<discussion>
+ <p>The current description of the algorithms uses a mix
+ of <code>SameType &amp;&amp; Swappable</code>
+ and <code>SwappableIterator</code> concept requirements to handle
+ swapping. These should all be replaced with uses of the
+ two-parameter <code>HasSwap</code> (issue <iref ref="35"/>) or the
+ current <code>Swappable</code> concept that (typically) work on the
+ reference types of iterators. As part of this,
+ the <code>SwappableIterator</code> concept should be eliminated.</p>
+</discussion>
+
+<resolution>
+ <p><code>iter_swap</code> should have a concept requirement <code>HasSwap&lt;Iter1::reference, Iter2::reference&gt;</code></p>
+
+ <p><code>reverse</code> should have a concept requirement <code>HasSwap&lt;Iter::reference&gt;</code></p>
+
+ <p><i>Note</i>: proposed resolution in progress...</p>
+</resolution>
+</issue>


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk