3 <title>BOOST_PP_LIST_FIRST
</title>
4 <link rel=
"stylesheet" type=
"text/css" href=
"../styles.css">
7 <div style=
"margin-left: 0px;">
8 The
<b>BOOST_PP_LIST_FIRST
</b> macro expands to the head of a
<i>list
</i>.
12 <b>BOOST_PP_LIST_FIRST
</b>(
<i>list
</i>)
18 A non-nil
<i>list
</i>.
23 <b>Header:
</b> <a href=
"../headers/list/adt.html"><boost/preprocessor/list/adt.hpp
></a>
27 #include
<<a href=
"../headers/list/adt.html">boost/preprocessor/list/adt.hpp
</a>>
30 <a href=
"list_cons.html">BOOST_PP_LIST_CONS
</a>( \
32 <a href=
"list_cons.html">BOOST_PP_LIST_CONS
</a>( \
34 <a href=
"list_cons.html">BOOST_PP_LIST_CONS
</a>( \
36 <a href=
"list_nil.html">BOOST_PP_LIST_NIL
</a> \
42 #define NEW (a, (b, (c,
<a href=
"nil.html">BOOST_PP_NIL
</a>)))
44 <a href=
"list_first.html">BOOST_PP_LIST_FIRST
</a>(OLD) ==
<a href=
"list_first.html">BOOST_PP_LIST_FIRST
</a>(NEW)
47 <a href=
"list_rest.html">BOOST_PP_LIST_REST
</a>(OLD) ==
<a href=
"list_rest.html">BOOST_PP_LIST_REST
</a>(NEW)
48 // expands to (b, (c,
<a href=
"nil.html">BOOST_PP_NIL
</a>)) == (b, (c,
<a href=
"nil.html">BOOST_PP_NIL
</a>))
51 <div style=
"margin-left: 0px;">
52 <i>© Copyright
<a href=
"http://www.housemarque.com" target=
"_top">Housemarque Oy
</a> 2002</i>
53 </br><i>© Copyright Paul Mensonides
2002</i>
55 <div style=
"margin-left: 0px;">
56 <p><small>Distributed under the Boost Software License, Version
1.0. (See
57 accompanying file
<a href=
"../../../../LICENSE_1_0.txt">LICENSE_1_0.txt
</a> or
59 "http://www.boost.org/LICENSE_1_0.txt">www.boost.org/LICENSE_1_0.txt
</a>)
</small></p>