3 <title>BOOST_PP_ASSIGN_SLOT
</title>
4 <link rel=
"stylesheet" type=
"text/css" href=
"../styles.css">
7 <div style=
"margin-left: 0px;">
8 The
<b>BOOST_PP_ASSIGN_SLOT
</b> macro fully evaluates a numeric macro or expression.
12 #include
<b>BOOST_PP_ASSIGN_SLOT
</b>(
<i>i
</i>)
18 The
<i>slot
</i> index that is to be assigned.
19 This value must be in the range of
<i>1</i> to
<b>BOOST_PP_LIMIT_SLOT_COUNT
</b>.
24 Prior to use, the
<i>named external argument
</i> <b>BOOST_PP_VALUE
</b> must be defined.
25 Also, it must expand to a numeric value that is in the range of
<i>0</i> to
<i>2</i>^
<i>32</i> -
<i>1</i>.
29 <li><a href=
"limit_slot_count.html">BOOST_PP_LIMIT_SLOT_COUNT
</a></li>
30 <li><a href=
"value.html">BOOST_PP_VALUE
</a></li>
34 <b>Header:
</b> <a href=
"../headers/slot/slot.html"><boost/preprocessor/slot/slot.hpp
></a>
38 #include
<<a href=
"../headers/slot/slot.html">boost/preprocessor/slot/slot.hpp
</a>>
42 #define
<a href=
"value.html">BOOST_PP_VALUE
</a> 1 +
2 +
3 + X()
43 #include
<a href=
"assign_slot.html">BOOST_PP_ASSIGN_SLOT
</a>(
1)
47 <a href=
"slot.html">BOOST_PP_SLOT
</a>(
1) // expands to
10
50 <div style=
"margin-left: 0px;">
51 <i>© Copyright
<a href=
"http://www.housemarque.com" target=
"_top">Housemarque Oy
</a> 2002</i>
52 </br><i>© Copyright Paul Mensonides
2002</i>
54 <div style=
"margin-left: 0px;">
55 <p><small>Distributed under the Boost Software License, Version
1.0. (See
56 accompanying file
<a href=
"../../../../LICENSE_1_0.txt">LICENSE_1_0.txt
</a> or
58 "http://www.boost.org/LICENSE_1_0.txt">www.boost.org/LICENSE_1_0.txt
</a>)
</small></p>