forked from boostorg/preprocessor
lib cleanup
[SVN r15693]
This commit is contained in:
30
doc/ref/nil.html
Normal file
30
doc/ref/nil.html
Normal file
@ -0,0 +1,30 @@
|
||||
<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.
|
||||
Its purpose is to <i>not be a macro</i>.
|
||||
It is also used to terminate a <i>list</i>.
|
||||
</div>
|
||||
<h4>Sample Code</h4>
|
||||
<div><pre>
|
||||
#include <<a href="../headers/list/adt.hpp.html">boost/preprocessor/list/adt.hpp</a>>
|
||||
|
||||
#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>
|
Reference in New Issue
Block a user