Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r82316 - in trunk/libs/range/doc: html html/range/reference/adaptors/reference reference/adaptors
From: zeratul976_at_[hidden]
Date: 2013-01-02 03:09:46


Author: nathanridge
Date: 2013-01-02 03:09:46 EST (Wed, 02 Jan 2013)
New Revision: 82316
URL: http://svn.boost.org/trac/boost/changeset/82316

Log:
[range] fixed #7585 (typo in documentation for 'indexed' adaptor)
Text files modified:
   trunk/libs/range/doc/html/index.html | 2 +-
   trunk/libs/range/doc/html/range/reference/adaptors/reference/indexed.html | 5 +++--
   trunk/libs/range/doc/reference/adaptors/indexed.qbk | 4 ++--
   3 files changed, 6 insertions(+), 5 deletions(-)

Modified: trunk/libs/range/doc/html/index.html
==============================================================================
--- trunk/libs/range/doc/html/index.html (original)
+++ trunk/libs/range/doc/html/index.html 2013-01-02 03:09:46 EST (Wed, 02 Jan 2013)
@@ -147,7 +147,7 @@
   </p>
 </div>
 <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
-<td align="left"><p><small>Last revised: January 02, 2013 at 08:04:07 GMT</small></p></td>
+<td align="left"><p><small>Last revised: January 02, 2013 at 08:07:20 GMT</small></p></td>
 <td align="right"><div class="copyright-footer"></div></td>
 </tr></table>
 <hr>

Modified: trunk/libs/range/doc/html/range/reference/adaptors/reference/indexed.html
==============================================================================
--- trunk/libs/range/doc/html/range/reference/adaptors/reference/indexed.html (original)
+++ trunk/libs/range/doc/html/range/reference/adaptors/reference/indexed.html 2013-01-02 03:09:46 EST (Wed, 02 Jan 2013)
@@ -55,7 +55,7 @@
 <td>
                     <p>
                       <code class="computeroutput"><span class="identifier">rng</span> <span class="special">|</span>
- <span class="identifier">boost</span><span class="special">::</span><span class="identifier">adaptors</span><span class="special">::</span><span class="identifier">indexed</span></code>
+ <span class="identifier">boost</span><span class="special">::</span><span class="identifier">adaptors</span><span class="special">::</span><span class="identifier">indexed</span><span class="special">(</span><span class="identifier">start_index</span><span class="special">)</span></code>
                     </p>
                   </td>
 </tr>
@@ -67,7 +67,8 @@
                   </td>
 <td>
                     <p>
- <code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">adaptors</span><span class="special">::</span><span class="identifier">index</span><span class="special">(</span><span class="identifier">rng</span><span class="special">)</span></code>
+ <code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">adaptors</span><span class="special">::</span><span class="identifier">index</span><span class="special">(</span><span class="identifier">rng</span><span class="special">,</span>
+ <span class="identifier">start_index</span><span class="special">)</span></code>
                     </p>
                   </td>
 </tr>

Modified: trunk/libs/range/doc/reference/adaptors/indexed.qbk
==============================================================================
--- trunk/libs/range/doc/reference/adaptors/indexed.qbk (original)
+++ trunk/libs/range/doc/reference/adaptors/indexed.qbk 2013-01-02 03:09:46 EST (Wed, 02 Jan 2013)
@@ -7,8 +7,8 @@
 
 [table
     [[Syntax] [Code]]
- [[Pipe] [`rng | boost::adaptors::indexed`]]
- [[Function] [`boost::adaptors::index(rng)`]]
+ [[Pipe] [`rng | boost::adaptors::indexed(start_index)`]]
+ [[Function] [`boost::adaptors::index(rng, start_index)`]]
 ]
 
 * [*Returns:] A range adapted to return both the element and the associated index. The returned range consists of iterators that have in addition to the usual iterator member functions an `index()` member function that returns the appropriate index for the element in the sequence corresponding with the iterator.


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