|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r61603 - sandbox/statistics/support/libs/assign/doc
From: erwann.rogard_at_[hidden]
Date: 2010-04-26 21:33:25
Author: e_r
Date: 2010-04-26 21:33:25 EDT (Mon, 26 Apr 2010)
New Revision: 61603
URL: http://svn.boost.org/trac/boost/changeset/61603
Log:
m
Text files modified:
sandbox/statistics/support/libs/assign/doc/index.html | 47 +++++++++++++++++++++++++--------------
1 files changed, 30 insertions(+), 17 deletions(-)
Modified: sandbox/statistics/support/libs/assign/doc/index.html
==============================================================================
--- sandbox/statistics/support/libs/assign/doc/index.html (original)
+++ sandbox/statistics/support/libs/assign/doc/index.html 2010-04-26 21:33:25 EDT (Mon, 26 Apr 2010)
@@ -51,7 +51,9 @@
<a href="#ref-functions">Functions and operators</a>
<ul>
<li>Headers </li>
- <li>Functions list_of()
, map_list_of()
and ref_list_of<int>()
</li>
+ <li>Functions list_of()
</li>
+ <li>Functions map_list_of()
</li>
+ <li>Functions ref_list_of
</li>
<int>()
<li>Function make_list_inserter()
</li>
<li>Functions ref_list_of()
, cref_list_of()
, and variants</li>
<li>Functions ref_csv()
, cref_csv()
, and variants</li>
@@ -111,14 +113,13 @@
class=identifier> v</span><span class=special>; </span>
<span class=identifier>v </span><span class=special>+= </span><span
class=number>1</span><span
-class=special>,</span><span class=number>2</span><span
+class=special>,</span><span class=number>5</span><span
class=special>,</span><span class=number>3</span><span
class=special>,</span><span class=number>4</span><span
-class=special>,</span><span class=number>5</span><span
-class=special>,</span><span class=number>6</span><span
-class=special>,</span><span class=number>7</span><span
-class=special>,</span><span class=number>8</span><span
-class=special>,</span><span class=number>9</span><span class=special>;</span></pre></p>
+class=special>,</span><span class=number>2</span><span
+class=special>,</span><span class=number>9</span><span
+class=special>,</span><span class=number>0</span><span
+class=special>,</span><span class=number>7</span><span class=special>;</span></pre></p>
<li> A parenthesis-separated list:
<p>
<pre>
@@ -130,16 +131,28 @@
<ul> <li> A list of references (to temporaries, in this example): <p>
<pre><span class=special>boost::array<<span class=keyword>int</span><span class=special>,</span><span class=number>9</span>> </span><span class=identifier>a</span> <span class=special>= </span><span class=identifier>cref_csv</span><span class=special>( </span><span
class=number>1</span><span
-class=special>,</span><span class=number>2</span><span
+class=special>,</span><span class=number>5</span><span
class=special>,</span><span class=number>3</span><span
class=special>,</span><span class=number>4</span><span
-class=special>,</span><span class=number>5</span><span
-class=special>,</span><span class=number>6</span><span
+class=special>,</span><span class=number>2</span><span
+class=special>,</span><span class=number>9</span><span
+class=special>,</span><span class=number>0</span><span
class=special>,</span><span class=number>7</span><span
-class=special>,</span><span class=number>8</span><span
-class=special>,</span><span class=number>9</span><span class=special> )</span></pre>
+class=special><span class=special> )</span></pre>
</p> </ul>
+<ul> <li> Chained ranges: <p>
+ <pre><span class=special>vector<<span class=keyword>int</span>> </span><span class=identifier>v</span> <span class=special>= </span><span class=identifier>vector<<span class=keyword>int</span>></span><span class=special>( </span><span
+class=number>3</span><span
+class=special>,</span><span class=number>1</span><span
+<span class=special> )</span><span class=special> && </span><span class=identifier>vector<<span class=keyword>int</span>></span><span class=special>( </span><span
+class=number>3</span><spanclass=special>,</span><span class=number>2</span><span
+<span class=special> )</span><span class=special> && </span><span class=identifier>vector<<span class=keyword>int</span>></span><span class=special>( </span><span
+class=number>3</span><span class=special>,</span><span class=number>3</span><span class=special> )</span><span>;</span>
+</pre>
+</p> </ul>
+
+
<p>
These lists are particularly useful in
@@ -830,15 +843,15 @@
<h3>Contents</h3>
<ul>
- <li>Headers </li>
- <li>Functions list_of()
, map_list_of()
and ref_list_of<int>()
</li>
+ <li>Headers</li>
+ <li>Functions list_of()
</li>
+ <li>Functions map_list_of()
</li>
+ <li>Functions ref_list_of
</li>
<int>()
<li>Function make_list_inserter()
</li>
<li>Functions ref_list_of()
, cref_list_of()
, and variants</li>
<li>Functions ref_csv()
, cref_csv()
, and variants</li>
<li>Operator +=
for standard containers</li>
- <li>Functions repeat()
, repeat_fun()
and
- <a href="#ref-repeat"><code>range()</code>
- </a></li>
+ <li>Functions repeat()
, repeat_fun()
and range()
</li>
<li>Operator &&
</li>
<li>Customizing argument list sizes </li>
</ul>
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