2001-11-25 18:32:11 +00:00
|
|
|
#ifndef BOOST_PREPROCESSOR_STRINGIZE_HPP
|
|
|
|
#define BOOST_PREPROCESSOR_STRINGIZE_HPP
|
|
|
|
|
2002-01-29 14:13:10 +00:00
|
|
|
/* Copyright (C) 2001
|
|
|
|
* Housemarque Oy
|
|
|
|
* http://www.housemarque.com
|
|
|
|
*
|
|
|
|
* Permission to copy, use, modify, sell and distribute this software is
|
|
|
|
* granted provided this copyright notice appears in all copies. This
|
|
|
|
* software is provided "as is" without express or implied warranty, and
|
|
|
|
* with no claim as to its suitability for any purpose.
|
|
|
|
*
|
|
|
|
* See http://www.boost.org for most recent version.
|
|
|
|
*/
|
|
|
|
|
2002-02-04 13:32:28 +00:00
|
|
|
/** <p>Stringizes <code>X</code> after it is macro expanded.</p>
|
2001-11-25 18:32:11 +00:00
|
|
|
|
2002-02-04 13:32:28 +00:00
|
|
|
<h3>Example</h3>
|
|
|
|
<ul>
|
|
|
|
<li><a href="../../example/note.c">note.c</a></li>
|
|
|
|
</ul>
|
2002-02-05 12:12:07 +00:00
|
|
|
|
|
|
|
<h3>Test</h3>
|
|
|
|
<ul>
|
|
|
|
<li><a href="../../test/preprocessor_test.cpp">preprocessor_test.cpp</a></li>
|
|
|
|
</ul>
|
2001-11-25 18:32:11 +00:00
|
|
|
*/
|
2002-01-22 13:32:06 +00:00
|
|
|
#define BOOST_PP_STRINGIZE(X) BOOST_PP_STRINGIZE_DELAY(X)
|
2001-11-25 18:32:11 +00:00
|
|
|
|
2002-01-22 13:32:06 +00:00
|
|
|
#define BOOST_PP_STRINGIZE_DELAY(X) BOOST_PP_DO_STRINGIZE(X)
|
|
|
|
#define BOOST_PP_DO_STRINGIZE(X) #X
|
2001-12-28 11:06:53 +00:00
|
|
|
|
2002-02-04 13:32:28 +00:00
|
|
|
/** <p>Obsolete. Use BOOST_PP_STRINGIZE().</p> */
|
2001-12-28 11:06:53 +00:00
|
|
|
#define BOOST_PREPROCESSOR_STRINGIZE(E) BOOST_PP_STRINGIZE(E)
|
2001-11-25 18:32:11 +00:00
|
|
|
#endif
|