3 <title>BOOST_PP_LIST_CAT
</title>
4 <link rel=
"stylesheet" type=
"text/css" href=
"../styles.css">
7 <div style=
"margin-left: 0px;">
8 The
<b>BOOST_PP_LIST_CAT
</b> macro concatenates all elements in a
<i>list
</i>.
12 <b>BOOST_PP_LIST_CAT
</b>(
<i>list
</i>)
18 The
<i>list
</i> whose elements are to be concatenated.
23 Elements are concatenated left-to-right starting with index
<i>0</i>.
26 Previously, this macro could not be used inside
<b>BOOST_PP_WHILE
</b>.
27 There is no longer any such restriction.
28 It is more efficient, however, to use
<b>BOOST_PP_LIST_CAT_D
</b> in such a situation.
32 <li><a href=
"list_cat_d.html">BOOST_PP_LIST_CAT_D
</a></li>
36 <b>Header:
</b> <a href=
"../headers/list/cat.html"><boost/preprocessor/list/cat.hpp
></a>
40 #include
<<a href=
"../headers/list/cat.html">boost/preprocessor/list/cat.hpp
</a>>
42 #define LIST (a, (b, (c,
<a href=
"nil.html">BOOST_PP_NIL
</a>)))
44 <a href=
"list_cat.html">BOOST_PP_LIST_CAT
</a>(LIST) // expands to abc
47 <div style=
"margin-left: 0px;">
48 <i>© Copyright
<a href=
"http://www.housemarque.com" target=
"_top">Housemarque Oy
</a> 2002</i>
49 </br><i>© Copyright Paul Mensonides
2002</i>
51 <div style=
"margin-left: 0px;">
52 <p><small>Distributed under the Boost Software License, Version
1.0. (See
53 accompanying file
<a href=
"../../../../LICENSE_1_0.txt">LICENSE_1_0.txt
</a> or
55 "http://www.boost.org/LICENSE_1_0.txt">www.boost.org/LICENSE_1_0.txt
</a>)
</small></p>