Updated doc for empty array and/or list when converted to other data type.

This commit is contained in:
Edward Diener
2014-06-04 06:50:33 -04:00
parent 70e0f2d6e0
commit e57370608e
9 changed files with 356 additions and 324 deletions

View File

@ -1,33 +1,41 @@
<html> <html>
<head> <head>
<title>BOOST_PP_ARRAY_TO_LIST</title> <meta content="text/html; charset=windows-1252" http-equiv="content-type">
<link rel="stylesheet" type="text/css" href="../styles.css"> <title>BOOST_PP_ARRAY_TO_LIST</title>
</head> <link rel="stylesheet" type="text/css" href="../styles.css">
<body> </head>
<div style="margin-left: 0px;"> The <b>BOOST_PP_ARRAY_TO_LIST</b> <body>
macro converts an <i>array</i> to a <i>list</i>. </div> <div style="margin-left: 0px;"> The <b>BOOST_PP_ARRAY_TO_LIST</b> macro
<h4>Usage</h4> converts an <i>array</i> to a <i>list</i>. </div>
<div class="code"> <b>BOOST_PP_ARRAY_TO_LIST</b>(<i>array</i>) <h4>Usage</h4>
</div> <div class="code"> <b>BOOST_PP_ARRAY_TO_LIST</b>(<i>array</i>) </div>
<h4>Arguments</h4> <h4>Arguments</h4>
<dl><dt>array</dt> <dl>
<dd> The <i>array</i> to be converted. </dd> <dt>array</dt>
</dl> <dd> The <i>array</i> to be converted.</dd>
<a href="limit_tuple.html"></a><ul> </dl>
</ul> <ul>
<h4>Requirements</h4> </ul>
<div> <b>Header:</b> &nbsp;<a href="../headers/array/to_list.html">&lt;boost/preprocessor/array/to_list.hpp&gt;</a> <h4>Remarks</h4>
</div> <p>&nbsp;&nbsp;&nbsp; If the <i>array</i> to be converted is empty, as
<h4>Sample Code</h4> represented by '( 0, () )', the resulting <i>list</i> is empty, as
<div> represented by 'BOOST_PP_NIL'.</p>
<pre>#include &lt;<a href="../headers/array/to_list.html">boost/preprocessor/array/to_list.hpp</a>&gt;<br><br><a href="array_to_list.html">BOOST_PP_ARRAY_TO_LIST</a>((3, (x, y, z)))<br> // expands to (x, (y, (z, <a href="nil.html">BOOST_PP_NIL</a>)))<br></pre> <h4>Requirements</h4>
</div> <div> <b>Header:</b> &nbsp;<a href="../headers/array/to_list.html">&lt;boost/preprocessor/array/to_list.hpp&gt;</a>
<hr size="1"> </div>
<div style="margin-left: 0px;"> <i></i><i><EFBFBD> Copyright Edward Diener 2011</i> </div> <h4>Sample Code</h4>
<div style="margin-left: 0px;"> <div>
<p><small>Distributed under the Boost Software License, Version 1.0. <pre>#include &lt;<a href="../headers/array/to_list.html">boost/preprocessor/array/to_list.hpp</a>&gt;<br><br><a
(See accompanying file <a href="../../../../LICENSE_1_0.txt">LICENSE_1_0.txt</a> href="array_to_list.html">BOOST_PP_ARRAY_TO_LIST</a>((3, (x, y, z)))<br> // expands to (x, (y, (z, <a
or copy at <a href="http://www.boost.org/LICENSE_1_0.txt">www.boost.org/LICENSE_1_0.txt</a>)</small></p> href="nil.html">BOOST_PP_NIL</a>)))</pre>
</div> </div>
</body> <hr size="1">
<div style="margin-left: 0px;"> <i><EFBFBD> Copyright Edward Diener 2011</i> </div>
<div style="margin-left: 0px;">
<p><small>Distributed under the Boost Software License, Version 1.0. (See
accompanying file <a href="../../../../LICENSE_1_0.txt">LICENSE_1_0.txt</a>
or copy at <a href="http://www.boost.org/LICENSE_1_0.txt">www.boost.org/LICENSE_1_0.txt</a>)</small></p>
</div>
s
</body>
</html> </html>

View File

@ -1,31 +1,37 @@
<html> <html>
<head> <head>
<title>BOOST_PP_ARRAY_TO_SEQ</title> <meta content="text/html; charset=windows-1252" http-equiv="content-type">
<link rel="stylesheet" type="text/css" href="../styles.css"> <title>BOOST_PP_ARRAY_TO_SEQ</title>
</head> <link rel="stylesheet" type="text/css" href="../styles.css">
<body> </head>
<div style="margin-left: 0px;"> The <b>BOOST_PP_ARRAY_TO_SEQ</b> macro <body>
converts an <i>array</i> to a <i>seq</i>. </div> <div style="margin-left: 0px;"> The <b>BOOST_PP_ARRAY_TO_SEQ</b> macro
<h4> Usage </h4> converts an <i>array</i> to a <i>seq</i>. </div>
<div class="code"> <b>BOOST_PP_ARRAY_TO_SEQ</b>(<i>array</i>) <h4> Usage </h4>
</div> <div class="code"> <b>BOOST_PP_ARRAY_TO_SEQ</b>(<i>array</i>) </div>
<h4> Arguments </h4> <h4> Arguments </h4>
<dl><dt>array</dt> <dl>
<dd> The <i>array</i> to be converted. </dd> <dt>array</dt>
</dl> <dd> The <i>array</i> to be converted.</dd>
<h4> Requirements </h4> </dl>
<div> <b>Header:</b> &nbsp;<a href="../headers/array/to_seq.html">&lt;boost/preprocessor/array/to_seq.hpp&gt;</a> <h4>Remarks</h4>
</div> <p>&nbsp;&nbsp;&nbsp; If the <i>array</i> to be converted is empty, as
<h4> Sample Code </h4> represented by '( 0, () )', the resulting <i>seq</i> is undefined since a
<div> <i>seq</i> cannot be empty.</p>
<pre>#include &lt;<a href="../headers/array/to_seq.html">boost/preprocessor/array/to_seq.hpp</a>&gt;<br><br><a href="array_to_seq.html">BOOST_PP_ARRAY_TO_SEQ</a>((3, (a, b, c))) // expands to (a)(b)(c)<br></pre> <h4>Requirements </h4>
</div> <div> <b>Header:</b> &nbsp;<a href="../headers/array/to_seq.html">&lt;boost/preprocessor/array/to_seq.hpp&gt;</a>
<hr size="1"> </div>
<div style="margin-left: 0px;"> <i></i><i><EFBFBD> Copyright Edward Diener 2011</i> </div> <h4> Sample Code </h4>
<div style="margin-left: 0px;"> <div>
<p><small>Distributed under the Boost Software License, Version 1.0. <pre>#include &lt;<a href="../headers/array/to_seq.html">boost/preprocessor/array/to_seq.hpp</a>&gt;<br><br><a
(See accompanying file <a href="../../../../LICENSE_1_0.txt">LICENSE_1_0.txt</a> href="array_to_seq.html">BOOST_PP_ARRAY_TO_SEQ</a>((3, (a, b, c))) // expands to (a)(b)(c)</pre>
or copy at <a href="http://www.boost.org/LICENSE_1_0.txt">www.boost.org/LICENSE_1_0.txt</a>)</small></p> </div>
</div> <hr size="1">
</body> <div style="margin-left: 0px;"> <i><EFBFBD> Copyright Edward Diener 2011</i> </div>
<div style="margin-left: 0px;">
<p><small>Distributed under the Boost Software License, Version 1.0. (See
accompanying file <a href="../../../../LICENSE_1_0.txt">LICENSE_1_0.txt</a>
or copy at <a href="http://www.boost.org/LICENSE_1_0.txt">www.boost.org/LICENSE_1_0.txt</a>)</small></p>
</div>
</body>
</html> </html>

View File

@ -1,31 +1,39 @@
<html> <html>
<head> <head>
<title>BOOST_PP_ARRAY_TO_TUPLE</title> <meta content="text/html; charset=windows-1252" http-equiv="content-type">
<link rel="stylesheet" type="text/css" href="../styles.css"> <title>BOOST_PP_ARRAY_TO_TUPLE</title>
</head> <link rel="stylesheet" type="text/css" href="../styles.css">
<body> </head>
<div style="margin-left: 0px;"> The <b>BOOST_PP_ARRAY_TO_TUPLE</b> macro <body>
converts an <i>array</i> to an <i>tuple</i>. </div> <div style="margin-left: 0px;"> The <b>BOOST_PP_ARRAY_TO_TUPLE</b> macro
<h4> Usage </h4> converts an <i>array</i> to an <i>tuple</i>. </div>
<div class="code"> <b>BOOST_PP_ARRAY_TO_TUPLE</b>(<i>array</i>) </div> <h4> Usage </h4>
<h4> Arguments </h4> <div class="code"> <b>BOOST_PP_ARRAY_TO_TUPLE</b>(<i>array</i>) </div>
<dl> <h4> Arguments </h4>
<dt>array</dt> <dl>
<dd> The <i>array</i> to be converted. </dd> <dt>array</dt>
</dl> <dd> The <i>array</i> to be converted.</dd>
<h4> Requirements </h4> </dl>
<div> <b>Header:</b> &nbsp;<a href="../headers/array/to_tuple.html">&lt;boost/preprocessor/array/to_tuple.hpp&gt;</a> <h4>Remarks</h4>
</div> <p>&nbsp;&nbsp;&nbsp; If the <i>array</i> to be converted is empty, as
<h4> Sample Code </h4> represented by '( 0, () )', the resulting <i>tuple</i> is undefined
<div> since a <i>tuple</i> cannot be empty.</p>
<pre>#include &lt;<a href="../headers/array/to_tuple.html">boost/preprocessor/array/to_tuple.hpp</a>&gt;<br><br>#define ARRAY (3,(a, b, c))<br><br><a href="array_to_tuple.html">BOOST_PP_ARRAY_TO_TUPLE</a>(ARRAY) // expands to (a, b, c)<br></pre> <h4>Requirements </h4>
</div> <div> <b>Header:</b> &nbsp;<a href="../headers/array/to_tuple.html">&lt;boost/preprocessor/array/to_tuple.hpp&gt;</a>
<hr size="1"> </div>
<div style="margin-left: 0px;"> <i></i><i><EFBFBD> Copyright Edward Diener 2011</i> </div> <h4> Sample Code </h4>
<div style="margin-left: 0px;"> <div>
<p><small>Distributed under the Boost Software License, Version 1.0. <pre>#include &lt;<a href="../headers/array/to_tuple.html">boost/preprocessor/array/to_tuple.hpp</a>&gt;<br><br>#define ARRAY (3,(a, b, c))<br><br><a
(See accompanying file <a href="../../../../LICENSE_1_0.txt">LICENSE_1_0.txt</a>
or copy at <a href="http://www.boost.org/LICENSE_1_0.txt">www.boost.org/LICENSE_1_0.txt</a>)</small></p> href="array_to_tuple.html">BOOST_PP_ARRAY_TO_TUPLE</a>(ARRAY) // expands to (a, b, c)</pre>
</div> </div>
</body> <hr size="1">
<div style="margin-left: 0px;"> <i></i><i><EFBFBD> Copyright Edward Diener 2011</i>
</div>
<div style="margin-left: 0px;">
<p><small>Distributed under the Boost Software License, Version 1.0. (See
accompanying file <a href="../../../../LICENSE_1_0.txt">LICENSE_1_0.txt</a>
or copy at <a href="http://www.boost.org/LICENSE_1_0.txt">www.boost.org/LICENSE_1_0.txt</a>)</small></p>
</div>
</body>
</html> </html>

View File

@ -1,39 +1,47 @@
<html> <html>
<head> <head>
<title>BOOST_PP_LIST_TO_ARRAY</title> <meta content="text/html; charset=windows-1252" http-equiv="content-type">
<link rel="stylesheet" type="text/css" href="../styles.css"></head> <title>BOOST_PP_LIST_TO_ARRAY</title>
<body> <link rel="stylesheet" type="text/css" href="../styles.css">
<div style="margin-left: 0px;"> The <b>BOOST_PP_LIST_TO_ARRAY</b> macro </head>
converts a <i>list</i> to an <i>array</i>. </div> <body>
<h4> Usage </h4> <div style="margin-left: 0px;"> The <b>BOOST_PP_LIST_TO_ARRAY</b> macro
<div class="code"> <b>BOOST_PP_LIST_TO_ARRAY</b>(<i>list</i>) </div> converts a <i>list</i> to an <i>array</i>. </div>
<h4> Arguments </h4> <h4> Usage </h4>
<dl> <div class="code"> <b>BOOST_PP_LIST_TO_ARRAY</b>(<i>list</i>) </div>
<dt>list</dt> <h4> Arguments </h4>
<dd> The <i>list</i> to be converted. </dd> <dl>
</dl> <dt>list</dt>
<h4>Remarks</h4> <dd> The <i>list</i> to be converted. <br>
<div> </dd>
This macro uses <b>BOOST_PP_WHILE</b>. </dl>
Within <b>BOOST_PP_WHILE</b>, it is more efficient to use <b>BOOST_PP_LIST_TO_ARRAY_D</b>. <h4>Remarks</h4>
</div> <div> This macro uses <b>BOOST_PP_WHILE</b>. Within <b>BOOST_PP_WHILE</b>,
<h4>See Also</h4> it is more efficient to use <b>BOOST_PP_LIST_TO_ARRAY_D</b>.<br>
<ul> <br>
<li><a href="list_to_array_d.html">BOOST_PP_LIST_TO_ARRAY_D</a></li> If the <i>list</i> to be converted is empty, as represented by
</ul> 'BOOST_PP_NIL', the resulting <i>array</i> is empty, as represented by '( 0, ()
<h4> Requirements </h4> )'.</div>
<div> <b>Header:</b> &nbsp;<a href="../headers/list/to_array.html">&lt;boost/preprocessor/list/to_array.hpp&gt;</a> <h4>See Also</h4>
</div> <ul>
<h4> Sample Code </h4> <li><a href="list_to_array_d.html">BOOST_PP_LIST_TO_ARRAY_D</a></li>
<div> </ul>
<pre>#include &lt;<a href="../headers/list/to_array.html">boost/preprocessor/list/to_array.hpp</a>&gt;<br><br>#define LIST (a, (b, (c, <a href="nil.html">BOOST_PP_NIL</a>)))<br><br><a href="list_to_array.html">BOOST_PP_LIST_TO_ARRAY</a>(LIST) // expands to (3, (a, b, c))<br></pre> <h4> Requirements </h4>
</div> <div> <b>Header:</b> &nbsp;<a href="../headers/list/to_array.html">&lt;boost/preprocessor/list/to_array.hpp&gt;</a>
<hr size="1"> </div>
<div style="margin-left: 0px;"> <i></i><i>© Copyright Edward Diener 2011</i> </div> <h4> Sample Code </h4>
<div style="margin-left: 0px;"> <div>
<p><small>Distributed under the Boost Software License, Version 1.0. <pre>#include &lt;<a href="../headers/list/to_array.html">boost/preprocessor/list/to_array.hpp</a>&gt;<br><br>#define LIST (a, (b, (c, <a
(See accompanying file <a href="../../../../LICENSE_1_0.txt">LICENSE_1_0.txt</a>
or copy at <a href="http://www.boost.org/LICENSE_1_0.txt">www.boost.org/LICENSE_1_0.txt</a>)</small></p> href="nil.html">BOOST_PP_NIL</a>)))<br><br><a href="list_to_array.html">BOOST_PP_LIST_TO_ARRAY</a>(LIST) // expands to (3, (a, b, c))</pre>
</div> </div>
</body> <hr size="1">
<div style="margin-left: 0px;"> <i></i><i>© Copyright Edward Diener 2011</i>
</div>
<div style="margin-left: 0px;">
<p><small>Distributed under the Boost Software License, Version 1.0. (See
accompanying file <a href="../../../../LICENSE_1_0.txt">LICENSE_1_0.txt</a>
or copy at <a href="http://www.boost.org/LICENSE_1_0.txt">www.boost.org/LICENSE_1_0.txt</a>)</small></p>
</div>
</body>
</html> </html>

View File

@ -1,27 +1,34 @@
<html> <html>
<head> <head>
<title>BOOST_PP_LIST_TO_ARRAY_D</title> <meta content="text/html; charset=windows-1252" http-equiv="content-type">
<link rel="stylesheet" type="text/css" href="../styles.css"></head> <title>BOOST_PP_LIST_TO_ARRAY_D</title>
<body> <link rel="stylesheet" type="text/css" href="../styles.css">
<div style="margin-left: 0px;"> </head>
The <b>BOOST_PP_LIST_TO_ARRAY_D</b> macro converts a <i>list</i> to an <i>array</i>. <body>
It reenters <b>BOOST_PP_WHILE</b> with maximum efficiency. <div style="margin-left: 0px;"> The <b>BOOST_PP_LIST_TO_ARRAY_D</b> macro
</div> converts a <i>list</i> to an <i>array</i>. It reenters <b>BOOST_PP_WHILE</b>
<h4> Usage </h4> with maximum efficiency. </div>
<div class="code"> <b>BOOST_PP_LIST_TO_ARRAY_D</b>(<i>d</i>, <i>list</i>) </div> <h4> Usage </h4>
<h4> Arguments </h4> <div class="code"> <b>BOOST_PP_LIST_TO_ARRAY_D</b>(<i>d</i>, <i>list</i>)
<dl> </div>
<dt>d</dt> <h4> Arguments </h4>
<dd>The next available <b>BOOST_PP_WHILE</b> iteration.</dd> <dl>
<dt>list</dt> <dt>d</dt>
<dd> The <i>list</i> to be converted. </dd> <dd>The next available <b>BOOST_PP_WHILE</b> iteration.</dd>
</dl> <dt>list</dt>
<h4>See Also</h4> <dd> The <i>list</i> to be converted. </dd>
<ul> </dl>
<li><a href="list_to_array_d.html">BOOST_PP_LIST_TO_ARRAY</a></li> <h4>Remarks</h4>
</ul> <p>&nbsp;&nbsp;&nbsp; If the <i>list</i> to be converted is empty, as
<h4> Requirements </h4> represented by 'BOOST_PP_NIL', the resulting <i>array</i> is empty, as
<div> <b>Header:</b> &nbsp;<a href="../headers/list/to_array.html">&lt;boost/preprocessor/list/to_array.hpp&gt;</a> represented by '( 0, () )'. </p>
</div> <h4>See Also</h4>
</body> <h4>See Also</h4>
<ul>
<li><a href="list_to_array_d.html">BOOST_PP_LIST_TO_ARRAY</a></li>
</ul>
<h4> Requirements </h4>
<div> <b>Header:</b> &nbsp;<a href="../headers/list/to_array.html">&lt;boost/preprocessor/list/to_array.hpp&gt;</a>
</div>
</body>
</html> </html>

View File

@ -1,40 +1,44 @@
<html> <html>
<head> <head>
<title>BOOST_PP_LIST_TO_SEQ</title> <meta content="text/html; charset=windows-1252" http-equiv="content-type">
<link rel="stylesheet" type="text/css" href="../styles.css"> <title>BOOST_PP_LIST_TO_SEQ</title>
</head> <link rel="stylesheet" type="text/css" href="../styles.css">
<body> </head>
<div style="margin-left: 0px;"> The <b>BOOST_PP_LIST_TO_SEQ</b> macro <body>
converts a <i>list</i> to a <i>seq</i>. </div> <div style="margin-left: 0px;"> The <b>BOOST_PP_LIST_TO_SEQ</b> macro
<h4> Usage </h4> converts a <i>list</i> to a <i>seq</i>. </div>
<div class="code"> <b>BOOST_PP_LIST_TO_SEQ</b>(<i>list</i>) <h4> Usage </h4>
</div> <div class="code"> <b>BOOST_PP_LIST_TO_SEQ</b>(<i>list</i>) </div>
<h4> Arguments </h4> <h4> Arguments </h4>
<dl><dt>list</dt> <dl>
<dd> The <i>list</i> to be converted. </dd> <dt>list</dt>
</dl> <dd> The <i>list</i> to be converted. </dd>
<h4>Remarks</h4> </dl>
<div> <h4>Remarks</h4>
This macro uses <b>BOOST_PP_FOR</b>. <div> This macro uses <b>BOOST_PP_FOR</b>. Within <b>BOOST_PP_FOR</b>, it
Within <b>BOOST_PP_FOR</b>, it is more efficient to use <b>BOOST_PP_LIST_TO_SEQ_R</b>. is more efficient to use <b>BOOST_PP_LIST_TO_SEQ_R</b>.<br>
</div> <br>
<h4>See Also</h4> If the <i>list</i> to be converted is empty, as represented by
<ul> 'BOOST_PP_NIL', the resulting <i>seq</i> is undefined since a <i>seq</i>
<li><a href="list_to_seq_r.html">BOOST_PP_LIST_TO_SEQ_R</a></li> cannot be empty.</div>
</ul> <h4>See Also</h4>
<h4> Requirements </h4> <ul>
<div> <b>Header:</b> &nbsp;<a href="../headers/list/to_seq.html">&lt;boost/preprocessor/list/to_seq.hpp&gt;</a> <li><a href="list_to_seq_r.html">BOOST_PP_LIST_TO_SEQ_R</a></li>
</div> </ul>
<h4> Sample Code </h4> <h4> Requirements </h4>
<div> <div> <b>Header:</b> &nbsp;<a href="../headers/list/to_seq.html">&lt;boost/preprocessor/list/to_seq.hpp&gt;</a>
<pre>#include &lt;<a href="../headers/list/to_seq.html">boost/preprocessor/list/to_seq.hpp</a>&gt;<br><br><a href="list_to_seq.html">BOOST_PP_LIST_TO_SEQ</a>((a, (b, (c, <a href="nil.html">BOOST_PP_NIL</a>)))) // expands to (a)(b)(c)<br></pre> </div>
</div> <h4> Sample Code </h4>
<hr size="1"> <div>
<div style="margin-left: 0px;"> <i></i><i>© Copyright Edward Diener 2011</i> </div> <pre>#include &lt;<a href="../headers/list/to_seq.html">boost/preprocessor/list/to_seq.hpp</a>&gt;<br><br><a
<div style="margin-left: 0px;"> href="list_to_seq.html">BOOST_PP_LIST_TO_SEQ</a>((a, (b, (c, <a href="nil.html">BOOST_PP_NIL</a>)))) // expands to (a)(b)(c)</pre>
<p><small>Distributed under the Boost Software License, Version 1.0. </div>
(See accompanying file <a href="../../../../LICENSE_1_0.txt">LICENSE_1_0.txt</a> <hr size="1">
or copy at <a href="http://www.boost.org/LICENSE_1_0.txt">www.boost.org/LICENSE_1_0.txt</a>)</small></p> <div style="margin-left: 0px;"> <i>© Copyright Edward Diener 2011</i> </div>
</div> <div style="margin-left: 0px;">
</body> <p><small>Distributed under the Boost Software License, Version 1.0. (See
accompanying file <a href="../../../../LICENSE_1_0.txt">LICENSE_1_0.txt</a>
or copy at <a href="http://www.boost.org/LICENSE_1_0.txt">www.boost.org/LICENSE_1_0.txt</a>)</small></p>
</div>
</body>
</html> </html>

View File

@ -1,27 +1,32 @@
<html> <html>
<head> <head>
<title>BOOST_PP_LIST_TO_SEQ_R</title> <meta content="text/html; charset=windows-1252" http-equiv="content-type">
<link rel="stylesheet" type="text/css" href="../styles.css"></head> <title>BOOST_PP_LIST_TO_SEQ_R</title>
<body> <link rel="stylesheet" type="text/css" href="../styles.css">
<div style="margin-left: 0px;"> </head>
The <b>BOOST_PP_LIST_TO_SEQ_R</b> macro converts a <i>list</i> to an <i>seq</i>. <body>
It reenters <b>BOOST_PP_FOR</b> with maximum efficiency. <div style="margin-left: 0px;"> The <b>BOOST_PP_LIST_TO_SEQ_R</b> macro
</div> converts a <i>list</i> to a <i>seq</i>. It reenters <b>BOOST_PP_FOR</b>
<h4> Usage </h4> with maximum efficiency. </div>
<div class="code"> <b>BOOST_PP_LIST_TO_SEQ_R</b>(<i>r</i>, <i>list</i>) </div> <h4> Usage </h4>
<h4> Arguments </h4> <div class="code"> <b>BOOST_PP_LIST_TO_SEQ_R</b>(<i>r</i>, <i>list</i>) </div>
<dl> <h4> Arguments </h4>
<dt>d</dt> <dl>
<dd>The next available <b>BOOST_PP_FOR</b> repetition.</dd> <dt>d</dt>
<dt>list</dt> <dd>The next available <b>BOOST_PP_FOR</b> repetition.</dd>
<dd> The <i>list</i> to be converted. </dd> <dt>list</dt>
</dl> <dd> The <i>list</i> to be converted.</dd>
<h4>See Also</h4> </dl>
<ul> <h4>Remarks</h4>
<li><a href="list_to_seq_r.html">BOOST_PP_LIST_TO_SEQ</a></li> <p>&nbsp;&nbsp;&nbsp; If the <i>list</i> to be converted is empty, as
</ul> represented by 'BOOST_PP_NIL', the resulting <i>seq</i> is undefined
<h4> Requirements </h4> since a <i>seq</i> cannot be empty.</p>
<div> <b>Header:</b> &nbsp;<a href="../headers/list/to_seq.html">&lt;boost/preprocessor/list/to_seq.hpp&gt;</a> <h4>See Also</h4>
</div> <ul>
</body> <li><a href="list_to_seq_r.html">BOOST_PP_LIST_TO_SEQ</a></li>
</ul>
<h4> Requirements </h4>
<div> <b>Header:</b> &nbsp;<a href="../headers/list/to_seq.html">&lt;boost/preprocessor/list/to_seq.hpp&gt;</a>
</div>
</body>
</html> </html>

View File

@ -1,62 +1,55 @@
<html> <html>
<head> <head>
<title>BOOST_PP_LIST_TO_TUPLE</title> <meta content="text/html; charset=windows-1252" http-equiv="content-type">
<link rel="stylesheet" type="text/css" href="../styles.css"> <title>BOOST_PP_LIST_TO_TUPLE</title>
</head> <link rel="stylesheet" type="text/css" href="../styles.css">
<body> </head>
<div style="margin-left: 0px;"> <body>
The <b>BOOST_PP_LIST_TO_TUPLE</b> macro converts a <i>list</i> to a <i>tuple</i>. <div style="margin-left: 0px;"> The <b>BOOST_PP_LIST_TO_TUPLE</b> macro
</div> converts a <i>list</i> to a <i>tuple</i>. </div>
<h4>Usage</h4> <h4>Usage</h4>
<div class="code"> <div class="code"> <b>BOOST_PP_LIST_TO_TUPLE</b>(<i>list</i>) </div>
<b>BOOST_PP_LIST_TO_TUPLE</b>(<i>list</i>) <h4>Arguments</h4>
</div> <dl>
<h4>Arguments</h4> <dt>list</dt>
<dl> <dd> The <i>list</i> to be converted. </dd>
<dt>list</dt> </dl>
<dd> <h4>Remarks</h4>
The <i>list</i> to be converted. <div> If <i>list</i> is, for example, (<i>a</i>, (<i>b</i>, (<i>c</i>, <b>BOOST_PP_NIL</b>))),
</dd> this macro will produce:
</dl> <div> (<i>a</i>, <i>b</i>, <i>c</i>) </div>
<h4>Remarks</h4> </div>
<div> <div> Previously, this macro could not be used inside <b>BOOST_PP_FOR</b>.&nbsp;
If <i>list</i> is, for example, (<i>a</i>, (<i>b</i>, (<i>c</i>, <b>BOOST_PP_NIL</b>))), There is no longer any such restriction.&nbsp; It is more efficient,
this macro will produce: however, to use <b>BOOST_PP_LIST_TO_TUPLE_R</b> in such a situation.<br>
<div> <br>
(<i>a</i>, <i>b</i>, <i>c</i>) If the <i>list</i> to be converted is empty, as represented by 'BOOST_PP_NIL',
</div> the resulting <i>tuple</i> is undefined since a <i>tuple</i> cannot be
</div> empty.</div>
<div> <h4>See Also</h4>
Previously, this macro could not be used inside <b>BOOST_PP_FOR</b>.&nbsp; <ul>
There is no longer any such restriction.&nbsp; <li><a href="list_to_tuple_r.html">BOOST_PP_LIST_TO_TUPLE_R</a></li>
It is more efficient, however, to use <b>BOOST_PP_LIST_TO_TUPLE_R</b> in such a situation. </ul>
</div> <h4>Requirements</h4>
<h4>See Also</h4> <div> <b>Header:</b> &nbsp;<a href="../headers/list/to_tuple.html">&lt;boost/preprocessor/list/to_tuple.hpp&gt;</a>
<ul> </div>
<li><a href="list_to_tuple_r.html">BOOST_PP_LIST_TO_TUPLE_R</a></li> <h4>Sample Code</h4>
</ul> <div>
<h4>Requirements</h4> <pre>#include &lt;<a href="../headers/list/to_tuple.html">boost/preprocessor/list/to_tuple.hpp</a>&gt;
<div>
<b>Header:</b> &nbsp;<a href="../headers/list/to_tuple.html">&lt;boost/preprocessor/list/to_tuple.hpp&gt;</a>
</div>
<h4>Sample Code</h4>
<div><pre>
#include &lt;<a href="../headers/list/to_tuple.html">boost/preprocessor/list/to_tuple.hpp</a>&gt;
#define LIST (w, (x, (y, (z, <a href="nil.html">BOOST_PP_NIL</a>)))) #define LIST (w, (x, (y, (z, <a href="nil.html">BOOST_PP_NIL</a>))))
<a href="list_to_tuple.html">BOOST_PP_LIST_TO_TUPLE</a>(LIST) // expands to (w, x, y, z) <a href="list_to_tuple.html">BOOST_PP_LIST_TO_TUPLE</a>(LIST) // expands to (w, x, y, z)
</pre></div> </pre></div>
<hr size="1"> <hr size="1">
<div style="margin-left: 0px;"> <div style="margin-left: 0px;"> <i><EFBFBD> Copyright <a href="http://www.housemarque.com"
<i><EFBFBD> Copyright <a href="http://www.housemarque.com" target="_top">Housemarque Oy</a> 2002</i>
</br><i><EFBFBD> Copyright Paul Mensonides 2002</i> target="_top">Housemarque Oy</a> 2002</i> <br>
</div> <i><EFBFBD> Copyright Paul Mensonides 2002</i> </div>
<div style="margin-left: 0px;"> <div style="margin-left: 0px;">
<p><small>Distributed under the Boost Software License, Version 1.0. (See <p><small>Distributed under the Boost Software License, Version 1.0. (See
accompanying file <a href="../../../../LICENSE_1_0.txt">LICENSE_1_0.txt</a> or accompanying file <a href="../../../../LICENSE_1_0.txt">LICENSE_1_0.txt</a>
copy at <a href= or copy at <a href="http://www.boost.org/LICENSE_1_0.txt">www.boost.org/LICENSE_1_0.txt</a>)</small></p>
"http://www.boost.org/LICENSE_1_0.txt">www.boost.org/LICENSE_1_0.txt</a>)</small></p> </div>
</div> </body>
</body>
</html> </html>

View File

@ -1,47 +1,42 @@
<html> <html>
<head> <head>
<title>BOOST_PP_LIST_TO_TUPLE_R</title> <meta content="text/html; charset=windows-1252" http-equiv="content-type">
<link rel="stylesheet" type="text/css" href="../styles.css"> <title>BOOST_PP_LIST_TO_TUPLE_R</title>
</head> <link rel="stylesheet" type="text/css" href="../styles.css">
<body> </head>
<div style="margin-left: 0px;"> <body>
The <b>BOOST_PP_LIST_TO_TUPLE_R</b> macro converts a <i>list</i> to a <i>tuple</i>.&nbsp; <div style="margin-left: 0px;"> The <b>BOOST_PP_LIST_TO_TUPLE_R</b> macro
It reenters <b>BOOST_PP_FOR</b> with maximum efficiency. converts a <i>list</i> to a <i>tuple</i>.&nbsp; It reenters <b>BOOST_PP_FOR</b>
</div> with maximum efficiency. </div>
<h4>Usage</h4> <h4>Usage</h4>
<div class="code"> <div class="code"> <b>BOOST_PP_LIST_TO_TUPLE_R</b>(<i>r</i>, <i>list</i>)
<b>BOOST_PP_LIST_TO_TUPLE_R</b>(<i>r</i>, <i>list</i>) </div>
</div> <h4>Arguments</h4>
<h4>Arguments</h4> <dl>
<dl> <dt>r</dt>
<dt>r</dt> <dd> The next available <b>BOOST_PP_FOR</b> repetition. </dd>
<dd> <dt>list</dt>
The next available <b>BOOST_PP_FOR</b> repetition. <dd> The <i>list</i> to be converted. </dd>
</dd> </dl>
<dt>list</dt> <h4>Remarks</h4>
<dd> <p>&nbsp;&nbsp; If <i>list</i> is, for example, (<i>a</i>, (<i>b</i>, (<i>c</i>,
The <i>list</i> to be converted. <b>BOOST_PP_NIL</b>))), this macro will produce: </p>
</dd> <div>
</dl> <div> (<i>a</i>, <i>b</i>, <i>c</i>)&nbsp;&nbsp; </div>
<h4>Remarks</h4> </div>
<div> <h4><span style="font-weight: normal;">&nbsp;&nbsp; If the <i>list</i> to
If <i>list</i> is, for example, (<i>a</i>, (<i>b</i>, (<i>c</i>, <b>BOOST_PP_NIL</b>))), be converted is empty, as represented by 'BOOST_PP_NIL', the resulting <i>tuple</i>
this macro will produce: is undefined since a <i>tuple</i> cannot be empty. </span></h4>
<div> <h4>See Also</h4>
(<i>a</i>, <i>b</i>, <i>c</i>) <ul>
</div> <li><a href="list_to_tuple.html">BOOST_PP_LIST_TO_TUPLE</a></li>
</div> </ul>
<h4>See Also</h4> <h4>Requirements</h4>
<ul> <div> <b>Header:</b> &nbsp;<a href="../headers/list/to_tuple.html">&lt;boost/preprocessor/list/to_tuple.hpp&gt;</a>
<li><a href="list_to_tuple.html">BOOST_PP_LIST_TO_TUPLE</a></li> </div>
</ul> <h4>Sample Code</h4>
<h4>Requirements</h4> <div>
<div> <pre>#include &lt;<a href="../headers/list/adt.html">boost/preprocessor/list/adt.hpp</a>&gt;
<b>Header:</b> &nbsp;<a href="../headers/list/to_tuple.html">&lt;boost/preprocessor/list/to_tuple.hpp&gt;</a>
</div>
<h4>Sample Code</h4>
<div><pre>
#include &lt;<a href="../headers/list/adt.html">boost/preprocessor/list/adt.hpp</a>&gt;
#include &lt;<a href="../headers/list/to_tuple.html">boost/preprocessor/list/to_tuple.hpp</a>&gt; #include &lt;<a href="../headers/list/to_tuple.html">boost/preprocessor/list/to_tuple.hpp</a>&gt;
#include &lt;<a href="../headers/repetition/for.html">boost/preprocessor/repetition/for.hpp</a>&gt; #include &lt;<a href="../headers/repetition/for.html">boost/preprocessor/repetition/for.hpp</a>&gt;
@ -54,16 +49,14 @@
<a href="for.html">BOOST_PP_FOR</a>(LIST, PRED, OP, MACRO) <a href="for.html">BOOST_PP_FOR</a>(LIST, PRED, OP, MACRO)
// expands to (x, y, z) (y, z) (z) // expands to (x, y, z) (y, z) (z)
</pre></div> </pre></div>
<hr size="1"> <hr size="1">
<div style="margin-left: 0px;"> <div style="margin-left: 0px;"> <i><EFBFBD> Copyright <a href="http://www.housemarque.com"
<i><EFBFBD> Copyright <a href="http://www.housemarque.com" target="_top">Housemarque Oy</a> 2002</i> target="_top">Housemarque Oy</a> 2002</i> <br>
</br><i><EFBFBD> Copyright Paul Mensonides 2002</i> <i><EFBFBD> Copyright Paul Mensonides 2002</i> </div>
</div> <div style="margin-left: 0px;">
<div style="margin-left: 0px;"> <p><small>Distributed under the Boost Software License, Version 1.0. (See
<p><small>Distributed under the Boost Software License, Version 1.0. (See accompanying file <a href="../../../../LICENSE_1_0.txt">LICENSE_1_0.txt</a>
accompanying file <a href="../../../../LICENSE_1_0.txt">LICENSE_1_0.txt</a> or or copy at <a href="http://www.boost.org/LICENSE_1_0.txt">www.boost.org/LICENSE_1_0.txt</a>)</small></p>
copy at <a href= </div>
"http://www.boost.org/LICENSE_1_0.txt">www.boost.org/LICENSE_1_0.txt</a>)</small></p> </body>
</div>
</body>
</html> </html>