vmd_internal_macros.html 4.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. <html>
  2. <head>
  3. <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
  4. <title>Controlling internal usage</title>
  5. <link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css">
  6. <meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
  7. <link rel="home" href="../index.html" title="Chapter&#160;1.&#160;The Variadic Macro Data Library 1.9">
  8. <link rel="up" href="../index.html" title="Chapter&#160;1.&#160;The Variadic Macro Data Library 1.9">
  9. <link rel="prev" href="vmd_useful/vmd_empty_ppdata.html" title='Functionality for "empty" seqs and tuples'>
  10. <link rel="next" href="vmd_reentrant.html" title="Boost PP re-entrant versions">
  11. </head>
  12. <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
  13. <table cellpadding="2" width="100%"><tr>
  14. <td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../boost.png"></td>
  15. <td align="center"><a href="../../../../../index.html">Home</a></td>
  16. <td align="center"><a href="../../../../../libs/libraries.htm">Libraries</a></td>
  17. <td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
  18. <td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
  19. <td align="center"><a href="../../../../../more/index.htm">More</a></td>
  20. </tr></table>
  21. <hr>
  22. <div class="spirit-nav">
  23. <a accesskey="p" href="vmd_useful/vmd_empty_ppdata.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="vmd_reentrant.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a>
  24. </div>
  25. <div class="section">
  26. <div class="titlepage"><div><div><h2 class="title" style="clear: both">
  27. <a name="variadic_macro_data.vmd_internal_macros"></a><a class="link" href="vmd_internal_macros.html" title="Controlling internal usage">Controlling internal
  28. usage</a>
  29. </h2></div></div></div>
  30. <p>
  31. VMD has a few object-like macros which the end-user of the library can use
  32. to determine or change the way variadic macros are used in the library.
  33. </p>
  34. <p>
  35. The macro BOOST_PP_VARIADICS is part of the Boost PP library, not part of VMD.
  36. It is used to denote whether variadic data support exists for the particular
  37. compiler the end-user is using. VMD also uses this macro to determine whether
  38. variadic data support exists. An end-user of VMD can use this macro in his
  39. own design to determine whether or not variadic macros are supported. Furthermore
  40. an end-user of VMD can set this macro to 0 or non-zero, before including a
  41. VMD header file, to force VMD to treat the particular compiler being used as
  42. not supporting or supporting variadic macros. If a compiler does not support
  43. variadic macro none of the macros in VMD are defined.
  44. </p>
  45. <p>
  46. The macro BOOST_VMD_ASSERT_DATA controls whether or not an assert macro will
  47. check its data. The default is that in compiler debug mode it will check the
  48. data while in compiler release mode it will not check its data. The end-user
  49. can change this by setting the macro to 0 to not check the data, or non-zero
  50. to check the data, before including a VMD header file, or check the value if
  51. necessary after including a VMD header file.
  52. </p>
  53. </div>
  54. <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
  55. <td align="left"></td>
  56. <td align="right"><div class="copyright-footer">Copyright &#169; 2010-2017 Tropic Software
  57. East Inc</div></td>
  58. </tr></table>
  59. <hr>
  60. <div class="spirit-nav">
  61. <a accesskey="p" href="vmd_useful/vmd_empty_ppdata.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="vmd_reentrant.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a>
  62. </div>
  63. </body>
  64. </html>