Last change
on this file since 30 was
29,
checked in by landauf, 17 years ago
|
updated boost from 1_33_1 to 1_34_1
|
File size:
1.4 KB
|
Line | |
---|
1 | <html> |
---|
2 | <head> |
---|
3 | <title>BOOST_PP_NIL</title> |
---|
4 | <link rel="stylesheet" type="text/css" href="../styles.css"> |
---|
5 | </head> |
---|
6 | <body> |
---|
7 | <div style="margin-left: 0px;"> |
---|
8 | The <b>BOOST_PP_NIL</b> identifier is reserved by the library to indicate a non-macro. |
---|
9 | </div> |
---|
10 | <h4>Usage</h4> |
---|
11 | <div class="code"> |
---|
12 | <b>BOOST_PP_NIL</b> |
---|
13 | </div> |
---|
14 | <h4>Remarks</h4> |
---|
15 | <div> |
---|
16 | This identifier is <i>not</i> defined. |
---|
17 | Its purpose is to <i>not be a macro</i>. |
---|
18 | It is also used to terminate a <i>list</i>. |
---|
19 | </div> |
---|
20 | <h4>Sample Code</h4> |
---|
21 | <div><pre> |
---|
22 | #include <<a href="../headers/list/adt.html">boost/preprocessor/list/adt.hpp</a>> |
---|
23 | |
---|
24 | #define LIST (x, (y, (z, <a href="nil.html">BOOST_PP_NIL</a>))) |
---|
25 | |
---|
26 | <a href="list_first.html">BOOST_PP_LIST_FIRST</a>(x) // expands to x |
---|
27 | <a href="list_rest.html">BOOST_PP_LIST_REST</a>(x) // expands to (y, (z, <a href="nil.html">BOOST_PP_NIL</a>)) |
---|
28 | </pre></div> |
---|
29 | <hr size="1"> |
---|
30 | <div style="margin-left: 0px;"> |
---|
31 | <i>© Copyright <a href="http://www.housemarque.com" target="_top">Housemarque Oy</a> 2002</i> |
---|
32 | </br><i>© Copyright Paul Mensonides 2002</i> |
---|
33 | </div> |
---|
34 | <div style="margin-left: 0px;"> |
---|
35 | <p><small>Distributed under the Boost Software License, Version 1.0. (See |
---|
36 | accompanying file <a href="../../../../LICENSE_1_0.txt">LICENSE_1_0.txt</a> or |
---|
37 | copy at <a href= |
---|
38 | "http://www.boost.org/LICENSE_1_0.txt">www.boost.org/LICENSE_1_0.txt</a>)</small></p> |
---|
39 | </div> |
---|
40 | </body> |
---|
41 | </html> |
---|
Note: See
TracBrowser
for help on using the repository browser.