Last change
on this file since 29 was
29,
checked in by landauf, 17 years ago
|
updated boost from 1_33_1 to 1_34_1
|
File size:
1.6 KB
|
Line | |
---|
1 | <html> |
---|
2 | <head> |
---|
3 | <title>BOOST_PP_STRINGIZE</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_STRINGIZE</b> macro stringizes its argument after it has been expanded. |
---|
9 | </div> |
---|
10 | <h4>Usage</h4> |
---|
11 | <div class="code"> |
---|
12 | <b>BOOST_PP_STRINGIZE</b>(<i>text</i>) |
---|
13 | </div> |
---|
14 | <h4>Arguments</h4> |
---|
15 | <dl> |
---|
16 | <dt>text</dt> |
---|
17 | <dd> |
---|
18 | The text to be converted to a string literal. |
---|
19 | </dd> |
---|
20 | </dl> |
---|
21 | <h4>Remarks</h4> |
---|
22 | <div> |
---|
23 | The preprocessor stringizing operator (<b>#</b>) prevents arguments from expanding. |
---|
24 | This macro allows its argument to expand before it is stringized. |
---|
25 | </div> |
---|
26 | <!-- <h4>See Also</h4> --> |
---|
27 | <h4>Requirements</h4> |
---|
28 | <div> |
---|
29 | <b>Header:</b> <a href="../headers/stringize.html"><boost/preprocessor/stringize.hpp></a> |
---|
30 | </div> |
---|
31 | <h4>Sample Code</h4> |
---|
32 | <div><pre> |
---|
33 | #include <<a href="../headers/cat.html">boost/preprocessor/cat.hpp</a>> |
---|
34 | #include <<a href="../headers/stringize.html">boost/preprocessor/stringize.hpp</a>> |
---|
35 | |
---|
36 | <a href="stringize.html">BOOST_PP_STRINGIZE</a>(<a href="cat.html">BOOST_PP_CAT</a>(a, b)) // expands to "ab" |
---|
37 | </pre></div> |
---|
38 | <hr size="1"> |
---|
39 | <div style="margin-left: 0px;"> |
---|
40 | <i>© Copyright <a href="http://www.housemarque.com" target="_top">Housemarque Oy</a> 2002</i> |
---|
41 | </br><i>© Copyright Paul Mensonides 2002</i> |
---|
42 | </div> |
---|
43 | <div style="margin-left: 0px;"> |
---|
44 | <p><small>Distributed under the Boost Software License, Version 1.0. (See |
---|
45 | accompanying file <a href="../../../../LICENSE_1_0.txt">LICENSE_1_0.txt</a> or |
---|
46 | copy at <a href= |
---|
47 | "http://www.boost.org/LICENSE_1_0.txt">www.boost.org/LICENSE_1_0.txt</a>)</small></p> |
---|
48 | </div> |
---|
49 | </body> |
---|
50 | </html> |
---|
Note: See
TracBrowser
for help on using the repository browser.