mirror of
https://github.com/boostorg/preprocessor.git
synced 2025-07-02 23:36:54 +02:00
37 lines
1.5 KiB
HTML
37 lines
1.5 KiB
HTML
<HTML><HEAD><TITLE>Boost PREPROCESSOR library</TITLE><BODY bgcolor="#FFFFFF">
|
|
|
|
<a href="index.htm"><IMG height=86 alt="c++boost.gif (8819 bytes)" src="../../../../c++boost.gif" width=277 align=center></a>
|
|
|
|
<hr>
|
|
|
|
<H1>#include <<a href="../../../../boost/preprocessor/inc.hpp">boost/preprocessor/inc.hpp</a>></H1>
|
|
|
|
<hr>
|
|
|
|
<H2><a name="BOOST_PP_INC">#define BOOST_PP_INC</a>(X)</H2>
|
|
<P>Increments X expanding to a single token.</P>
|
|
|
|
<P>For example, <a href="inc.htm#BOOST_PP_INC">BOOST_PP_INC</a>(3) expands to 4 (a single token).</P>
|
|
|
|
<P><a href="inc.htm#BOOST_PP_INC">BOOST_PP_INC</a>() uses saturation arithmetic. Incrementing a
|
|
<a href="limits.htm#BOOST_PP_LIMIT_MAG">BOOST_PP_LIMIT_MAG</a> yields a <a href="limits.htm#BOOST_PP_LIMIT_MAG">BOOST_PP_LIMIT_MAG</a>.</P>
|
|
|
|
<P>Only decimal integer literals in the range [0,<a href="limits.htm#BOOST_PP_LIMIT_MAG">BOOST_PP_LIMIT_MAG</a>] are
|
|
supported.</P>
|
|
|
|
<hr>
|
|
|
|
<H2><a name="BOOST_PREPROCESSOR_INC">#define BOOST_PREPROCESSOR_INC</a>(X)</H2>
|
|
<P>Obsolete. Use <a href="inc.htm#BOOST_PP_INC">BOOST_PP_INC</a>().</P>
|
|
<hr>
|
|
|
|
<p>(C) Copyright Housemarque Oy 2002</p>
|
|
|
|
<p>Permission to copy, use, modify, sell and distribute this document is granted
|
|
provided this copyright notice appears in all copies. This document is provided
|
|
"as is" without express or implied warranty, and with no claim as to its suitability
|
|
for any purpose.</p>
|
|
|
|
<p>Generated: <!--webbot bot="Timestamp" s-type="EDITED" s-format="%d %b %Y" startspan --><!--webbot bot="Timestamp" endspan i-checksum="15246" --></p>
|
|
|
|
</BODY></HTML> |