Sophie

Sophie

distrib > Mandriva > 10.0 > i586 > by-pkgid > ef9bad9e14fc2a68cb7c992c11d75f5e > files > 3550

libboost1-devel-1.31.0-1mdk.i586.rpm

<html>
<head>
	<title>BOOST_PP_NIL</title>
	<link rel="stylesheet" type="text/css" href="../styles.css">
</head>
<body>
	<div style="margin-left:  0px;">
		The <b>BOOST_PP_NIL</b> identifier is reserved by the library to indicate a non-macro.
	</div>
	<h4>Usage</h4>
		<div class="code">
			<b>BOOST_PP_NIL</b>
		</div>
	<h4>Remarks</h4>
		<div>
			This identifier is <i>not</i> defined.&nbsp;
			Its purpose is to <i>not be a macro</i>.&nbsp;
			It is also used to terminate a <i>list</i>.
		</div>
	<h4>Sample Code</h4>
<div><pre>
#include &lt;<a href="../headers/list/adt.hpp.html">boost/preprocessor/list/adt.hpp</a>&gt;

#define LIST (x, (y, (z, <a href="nil.html">BOOST_PP_NIL</a>)))

<a href="list_first.html">BOOST_PP_LIST_FIRST</a>(x) // expands to x
<a href="list_rest.html">BOOST_PP_LIST_REST</a>(x) // expands to (y, (z, <a href="nil.html">BOOST_PP_NIL</a>))
</pre></div>
</body>
</html>