mirror of
https://github.com/boostorg/preprocessor.git
synced 2025-07-15 05:26:33 +02:00
Updated docs
[SVN r12687]
This commit is contained in:
@ -16,14 +16,15 @@
|
||||
#include <boost/preprocessor/comparison/less_equal.hpp>
|
||||
#include <boost/preprocessor/if.hpp>
|
||||
|
||||
/** <P>Expands to the maximum of X and Y.</P>
|
||||
/** <p>Expands to the maximum of <code>X</code> and <code>Y</code>.</p>
|
||||
|
||||
<P>For example, BOOST_PP_MAX(5,7) expands to 7 (a single token).</P>
|
||||
<p>For example, <code>BOOST_PP_MAX(5,7)</code> expands to <code>7</code> (a
|
||||
single token).</p>
|
||||
|
||||
<H3>Uses</H3>
|
||||
<UL>
|
||||
<LI>BOOST_PP_WHILE()
|
||||
</UL>
|
||||
<h3>Uses</h3>
|
||||
<ul>
|
||||
<li>BOOST_PP_WHILE()</li>
|
||||
</ul>
|
||||
*/
|
||||
#define BOOST_PP_MAX(X,Y) BOOST_PP_MAX_D(0,X,Y)
|
||||
|
||||
@ -31,6 +32,6 @@
|
||||
#define BOOST_PP_MAX_D(D,X,Y) BOOST_PP_IF(BOOST_PP_LESS_EQUAL_D(D,X,Y),Y,X)
|
||||
#endif
|
||||
|
||||
/** <P>Obsolete. Use BOOST_PP_MAX().</P> */
|
||||
/** <p>Obsolete. Use BOOST_PP_MAX().</p> */
|
||||
#define BOOST_PREPROCESSOR_MAX(X,Y) BOOST_PP_MAX(X,Y)
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user