is_selfish.html 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. <html>
  2. <head>
  3. <title>BOOST_PP_IS_SELFISH</title>
  4. <link rel="stylesheet" type="text/css" href="../styles.css">
  5. </head>
  6. <body>
  7. <div style="margin-left: 0px;">
  8. The <b>BOOST_PP_IS_SELFISH</b> macro is defined when a <i>self-inclusion</i> is in progress.
  9. </div>
  10. <h4>Usage</h4>
  11. <div class="code">
  12. #if !defined(<b>BOOST_PP_IS_SELFISH</b>) // ...
  13. </div>
  14. <h4>Remarks</h4>
  15. <div>
  16. If a <i>self-inclusion</i> is in progress, this macro is defined as <i>1</i>.&nbsp;
  17. This means that the following will also work:
  18. <div>
  19. #if !<b>BOOST_PP_IS_SELFISH</b> // ...
  20. </div>
  21. </div>
  22. <div>
  23. This macro is defined to guard a file from infinite inclusion.
  24. </div>
  25. <hr size="1">
  26. <div style="margin-left: 0px;">
  27. <i>© Copyright <a href="http://www.housemarque.com" target="_top">Housemarque Oy</a> 2002</i>
  28. </br><i>© Copyright Paul Mensonides 2002</i>
  29. </div>
  30. <div style="margin-left: 0px;">
  31. <p><small>Distributed under the Boost Software License, Version 1.0. (See
  32. accompanying file <a href="../../../../LICENSE_1_0.txt">LICENSE_1_0.txt</a> or
  33. copy at <a href=
  34. "http://www.boost.org/LICENSE_1_0.txt">www.boost.org/LICENSE_1_0.txt</a>)</small></p>
  35. </div>
  36. </body>
  37. </html>