preliminary set support

[SVN r15908]
This commit is contained in:
Paul Mensonides
2002-10-13 05:47:23 +00:00
parent b2bd498a4f
commit 33daabd87d
77 changed files with 2878 additions and 208 deletions

View File

@ -0,0 +1,50 @@
<html>
<head>
<title>BOOST_PP_SET_PUSH_BACK</title>
<link rel="stylesheet" type="text/css" href="../styles.css">
</head>
<body>
<div style="margin-left: 0px;">
The <b>BOOST_PP_SET_PUSH_BACK</b> macro pushes an element onto the end of a <i>set</i>.
</div>
<h4>Usage</h4>
<div class="code">
<b>BOOST_PP_SET_PUSH_BACK</b>(<i>set</i>, <i>elem</i>)
</div>
<h4>Arguments</h4>
<dl>
<dt>set</dt>
<dd>
The <i>set</i> onto which <i>elem</i> is pushed.
</dd>
<dt>elem</dt>
<dd>
The element to push onto the end of <i>set</i>.
</dd>
</dl>
<h4>Remarks</h4>
<div>
This macro returns <i>set</i> after appending <i>elem</i>.&nbsp;
</div>
<div>
This macro is an explicit form of directly appending an element.&nbsp;
In other words, <b>BOOST_PP_SET_PUSH_BACK</b>(<i>set</i>, <i>x</i>) is equivalent to <i>set</i>(<i>x</i>).
</div>
<h4>See Also</h4>
<ul>
<li><a href="set_push_front.html">BOOST_PP_SET_PUSH_FRONT</a></li>
</ul>
<h4>Requirements</h4>
<div>
<b>Header:</b> &nbsp;<a href="../headers/set/push_back.hpp.html">&lt;boost/preprocessor/set/push_back.hpp&gt;</a>
</div>
<h4>Sample Code</h4>
<div><pre>
#include &lt;<a href="../headers/set/push_back.hpp.html">boost/preprocessor/set/push_back.hpp</a>&gt;
#define SET (a)(b)
<a href="set_push_back.html">BOOST_PP_SET_PUSH_BACK</a>(SET, c) // expands to (a)(b)(c)
</pre></div>
</body>
</html>