3 <title>BOOST_PP_EQUAL_D
</title>
4 <link rel=
"stylesheet" type=
"text/css" href=
"../styles.css">
7 <div style=
"margin-left: 0px;">
8 The
<b>BOOST_PP_EQUAL_D
</b> macro compares two values for equality.
12 <b>BOOST_PP_EQUAL_D
</b>(
<i>d
</i>,
<i>x
</i>,
<i>y
</i>)
18 This argument is ignored.
22 The left operand of the comparison.
23 Valid values range from
<i>0</i> to
<b>BOOST_PP_LIMIT_MAG
</b>.
27 The right operand of the comparison.
28 Valid values range from
<i>0</i> to
<b>BOOST_PP_LIMIT_MAG
</b>.
33 If
<i>x
</i> is equal to
<i>y
</i>, this macro expands to
<i>1</i>.
34 Otherwise, it expands to
<i>0</i>.
37 This macro is deprecated.
38 It only exists for backward compatibility.
39 Use
<b>BOOST_PP_EQUAL
</b> instead.
43 <li><a href=
"equal.html">BOOST_PP_EQUAL
</a></li>
44 <li><a href=
"limit_mag.html">BOOST_PP_LIMIT_MAG
</a></li>
48 <b>Header:
</b> <a href=
"../headers/comparison/equal.html"><boost/preprocessor/comparison/equal.hpp
></a>
52 #include
<<a href=
"../headers/comparison/equal.html">boost/preprocessor/comparison/equal.hpp
</a>>
54 <a href=
"equal_d.html">BOOST_PP_EQUAL_D
</a>(
1,
4,
3) // expands to
0
55 <a href=
"equal_d.html">BOOST_PP_EQUAL_D
</a>(
1,
5,
5) // expands to
1
58 <div style=
"margin-left: 0px;">
59 <i>© Copyright
<a href=
"http://www.housemarque.com" target=
"_top">Housemarque Oy
</a> 2002</i>
60 </br><i>© Copyright Paul Mensonides
2002</i>
62 <div style=
"margin-left: 0px;">
63 <p><small>Distributed under the Boost Software License, Version
1.0. (See
64 accompanying file
<a href=
"../../../../LICENSE_1_0.txt">LICENSE_1_0.txt
</a> or
66 "http://www.boost.org/LICENSE_1_0.txt">www.boost.org/LICENSE_1_0.txt
</a>)
</small></p>