1 #ifndef BOOST_PREPROCESSOR_CAT_HPP
2 #define BOOST_PREPROCESSOR_CAT_HPP
6 * http://www.housemarque.com
8 * Permission to copy, use, modify, sell and distribute this software is
9 * granted provided this copyright notice appears in all copies. This
10 * software is provided "as is" without express or implied warranty, and
11 * with no claim as to its suitability for any purpose.
13 * See http://www.boost.org for most recent version.
16 /** <p>Concatenates <code>X</code> and <code>Y</code> after they are macro
19 <p>For example, <code>BOOST_PP_CAT(A,BOOST_PP_CAT(_,B))</code> expands to <code>A_B</code>.</p>
23 <li><a href="../../example/static_assert.c">static_assert.c</a></li>
28 <li><a href="../../test/preprocessor_test.cpp">preprocessor_test.cpp</a></li>
31 #define BOOST_PP_CAT(X,Y) BOOST_PP_CAT_DELAY(X,Y)
33 #define BOOST_PP_CAT_DELAY(X,Y) BOOST_PP_DO_CAT(X,Y)
34 #define BOOST_PP_DO_CAT(X,Y) X##Y
36 /* <p>Obsolete. Use BOOST_PP_CAT().</p> */
37 #define BOOST_PREPROCESSOR_CAT(X,Y) BOOST_PP_CAT(X,Y)