glossary.html 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. <html>
  2. <head>
  3. <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
  4. <title>Chapter&#160;6.&#160;Glossary</title>
  5. <link rel="stylesheet" href="boostbook.css" type="text/css">
  6. <meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
  7. <link rel="home" href="index.html" title="Boost.Python">
  8. <link rel="up" href="index.html" title="Boost.Python">
  9. <link rel="prev" href="faq/is_boost_python_thread_aware_com.html" title="Is Boost.Python thread-aware/compatible with multiple interpreters?">
  10. </head>
  11. <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
  12. <table cellpadding="2" width="100%"><tr><td valign="top"><img alt="" width="" height="" src="images/boost.png"></td></tr></table>
  13. <hr>
  14. <div class="spirit-nav">
  15. <a accesskey="p" href="faq/is_boost_python_thread_aware_com.html"><img src="images/prev.png" alt="Prev"></a><a accesskey="u" href="index.html"><img src="images/up.png" alt="Up"></a><a accesskey="h" href="index.html"><img src="images/home.png" alt="Home"></a>
  16. </div>
  17. <div class="chapter">
  18. <div class="titlepage"><div><div><h1 class="title">
  19. <a name="glossary"></a>Chapter&#160;6.&#160;Glossary</h1></div></div></div>
  20. <div class="variablelist">
  21. <p class="title"><b></b></p>
  22. <dl class="variablelist">
  23. <dt><span class="term">arity <a name="arity"></a></span></dt>
  24. <dd><p>
  25. The number of argumnts accepted by a function or member function. Unless
  26. otherwise specified, the hidden <code class="computeroutput"><span class="keyword">this</span></code>
  27. argument to member functions is not counted when specifying arity.
  28. </p></dd>
  29. <dt><span class="term">ntbs <a name="ntbs"></a></span></dt>
  30. <dd><p>
  31. Null-Terminated Byte String, or 'C'-string. C++ string literals are
  32. <span class="bold"><strong>ntbs</strong></span>es. An <span class="bold"><strong>ntbs</strong></span>
  33. must never be null.
  34. </p></dd>
  35. <dt><span class="term">raise <a name="raise"></a></span></dt>
  36. <dd><p>
  37. Exceptions in Python are "raised", not "thrown",
  38. as they are in C++. When this documentation says that some Python exception
  39. is "raised" in the context of C++ code, it means that the corresponding
  40. Python exception is set via the <a href="http://www.python.org/doc/current/api/exceptionHandling.html" target="_top">Python/'C'
  41. API</a>, and <code class="computeroutput"><span class="identifier">throw_error_already_set</span><span class="special">()</span></code> is called.
  42. </p></dd>
  43. <dt><span class="term">POD <a name="pod"></a></span></dt>
  44. <dd><p>
  45. A technical term from the C++ standard. Short for "Plain Ol'Data":
  46. A POD-struct is an aggregate class that has no non-static data members
  47. of type pointer to member, non-POD-struct, non-POD-union (or array of
  48. such types) or reference, and has no user-defined copy assign- ment operator
  49. and no user-defined destructor. Similarly, a POD-union is an aggregate
  50. union that has no non-static data members of type pointer to member,
  51. non-POD-struct, non-POD-union (or array of such types) or reference,
  52. and has no user-defined copy assignment operator and no user-defined
  53. destructor. A POD class is a class that is either a POD-struct or a POD-union.
  54. An aggregate is an array or a class (clause 9) with no user-declared
  55. constructors (12.1), no private or protected non-static data members
  56. (clause 11), no base classes (clause 10), and no virtual functions (10.3).
  57. </p></dd>
  58. <dt><span class="term">ODR <a name="odr"></a></span></dt>
  59. <dd><p>
  60. The "One Definition Rule", which says that any entity in a
  61. C++ program must have the same definition in all translation units (object
  62. files) which make up a program.
  63. </p></dd>
  64. </dl>
  65. </div>
  66. </div>
  67. <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
  68. <td align="left"></td>
  69. <td align="right"><div class="copyright-footer">Copyright &#169; 2002-2015 David
  70. Abrahams, Stefan Seefeld<p>
  71. Distributed under the Boost Software License, Version 1.0. (See accompanying
  72. file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
  73. </p>
  74. </div></td>
  75. </tr></table>
  76. <hr>
  77. <div class="spirit-nav">
  78. <a accesskey="p" href="faq/is_boost_python_thread_aware_com.html"><img src="images/prev.png" alt="Prev"></a><a accesskey="u" href="index.html"><img src="images/up.png" alt="Up"></a><a accesskey="h" href="index.html"><img src="images/home.png" alt="Home"></a>
  79. </div>
  80. </body>
  81. </html>