3 <title>BOOST_PP_COUNTER
</title>
4 <link rel=
"stylesheet" type=
"text/css" href=
"../styles.css">
7 <div style=
"margin-left: 0px;">
8 The
<b>BOOST_PP_COUNTER
</b> macro expands to the current counter value.
12 <b>BOOST_PP_COUNTER
</b>
16 This macro expands to an integer literal.
17 Its initial value is
<code>0</code>.
18 Between usages of
<b>BOOST_PP_UPDATE_COUNTER
</b>, the value of
<b>BOOST_PP_COUNTER
</b> is constant.
22 <li><a href=
"update_counter.html">BOOST_PP_UPDATE_COUNTER
</a></li>
26 <b>Header:
</b> <a href=
"../headers/slot/counter.html"><boost/preprocessor/slot/counter.hpp
></a>
30 #include
<<a href=
"../headers/array/insert.html">boost/preprocessor/slot/counter.hpp
</a>>
32 <a href=
"counter.html">BOOST_PP_COUNTER
</a> //
0
34 #include
<a href=
"update_counter.html">BOOST_PP_UPDATE_COUNTER
</a>()
36 <a href=
"counter.html">BOOST_PP_COUNTER
</a> //
1
38 #include
<a href=
"update_counter.html">BOOST_PP_UPDATE_COUNTER
</a>()
40 <a href=
"counter.html">BOOST_PP_COUNTER
</a> //
2
42 #include
<a href=
"update_counter.html">BOOST_PP_UPDATE_COUNTER
</a>()
44 <a href=
"counter.html">BOOST_PP_COUNTER
</a> //
3
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>