1 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
---|
2 | |
---|
3 | <!-- Copyright David Abrahams 2006. Distributed under the Boost --> |
---|
4 | <!-- Software License, Version 1.0. (See accompanying --> |
---|
5 | <!-- file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) --> |
---|
6 | <html> |
---|
7 | <head> |
---|
8 | <meta name="generator" content= |
---|
9 | "HTML Tidy for Windows (vers 1st August 2002), see www.w3.org"> |
---|
10 | <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> |
---|
11 | <link rel="stylesheet" type="text/css" href="../boost.css"> |
---|
12 | |
---|
13 | <title>Boost.Python - Definitions</title> |
---|
14 | </head> |
---|
15 | |
---|
16 | <body link="#0000ff" vlink="#800080"> |
---|
17 | <table border="0" cellpadding="7" cellspacing="0" width="100%" summary= |
---|
18 | "header"> |
---|
19 | <tr> |
---|
20 | <td valign="top" width="300"> |
---|
21 | <h3><a href="../../../../index.htm"><img height="86" width="277" |
---|
22 | alt="C++ Boost" src="../../../../boost.png" border="0"></a></h3> |
---|
23 | </td> |
---|
24 | |
---|
25 | <td valign="top"> |
---|
26 | <h1 align="center"><a href="../index.html">Boost.Python</a></h1> |
---|
27 | |
---|
28 | <h2 align="center">Definitions</h2> |
---|
29 | </td> |
---|
30 | </tr> |
---|
31 | </table> |
---|
32 | <hr> |
---|
33 | |
---|
34 | <dl class="definitions"> |
---|
35 | <dt><b><a name="arity">arity</a>:</b> The number of arguments accepted |
---|
36 | by a function or member function. Unless otherwise specified, the |
---|
37 | hidden "<code>this</code>" argument to member functions is not counted |
---|
38 | when specifying arity</dt> |
---|
39 | |
---|
40 | <dd><br> |
---|
41 | </dd> |
---|
42 | |
---|
43 | <dt><b><a name="ntbs">ntbs</a>:</b> Null-Terminated Byte String, or |
---|
44 | `C'-string. C++ string literals are <strong>ntbs</strong>es. An |
---|
45 | <strong>ntbs</strong> must never be null.</dt> |
---|
46 | |
---|
47 | <dd><br> |
---|
48 | </dd> |
---|
49 | |
---|
50 | <dt><b><a name="raise">raise</a>:</b> Exceptions in Python are |
---|
51 | "raised", not "thrown", as they are in C++. When this documentation |
---|
52 | says that some Python exception is "raised" in the context of C++ code, |
---|
53 | it means that the corresponding Python exception is set via the <a |
---|
54 | href= |
---|
55 | "http://www.python.org/doc/current/api/exceptionHandling.html">Python/'C' |
---|
56 | API</a>, and <code><a href= |
---|
57 | "errors.html#throw_error_already_set-spec">throw_error_already_set</a>()</code> |
---|
58 | is called.</dt> |
---|
59 | |
---|
60 | <dd><br> |
---|
61 | </dd> |
---|
62 | |
---|
63 | <dt><b><a name="POD">POD</a>:</b> A technical term from the C++ |
---|
64 | standard. Short for "Plain Ol'Data": A POD-struct is an aggregate class |
---|
65 | that has no non-static data members of type pointer to member, |
---|
66 | non-POD-struct, non-POD-union (or array of such types) or reference, |
---|
67 | and has no user-defined copy assign- ment operator and no user-defined |
---|
68 | destructor. Similarly, a POD-union is an aggregate union that has no |
---|
69 | non-static data members of type pointer to member, non-POD-struct, |
---|
70 | non-POD-union (or array of such types) or reference, and has no |
---|
71 | user-defined copy assignment operator and no user-defined destructor. A |
---|
72 | POD class is a class that is either a POD-struct or a POD-union. An |
---|
73 | aggregate is an array or a class (clause 9) with no user-declared |
---|
74 | constructors (12.1), no private or protected non-static data members |
---|
75 | (clause 11), no base classes (clause 10), and no virtual functions |
---|
76 | (10.3).</dt> |
---|
77 | |
---|
78 | <dd><br> |
---|
79 | </dd> |
---|
80 | |
---|
81 | <dt><b><a name="ODR">ODR</a>:</b> The "One Definition |
---|
82 | Rule", which says that any entity in a C++ program must have the same definition in all translation units (object files) which make up a program. |
---|
83 | </dt> |
---|
84 | |
---|
85 | <dd><br> |
---|
86 | </dd> |
---|
87 | |
---|
88 | |
---|
89 | </dl> |
---|
90 | <hr> |
---|
91 | |
---|
92 | <p>Revised |
---|
93 | <!--webbot bot="Timestamp" S-Type="EDITED" S-Format="%d %B, %Y" startspan --> |
---|
94 | 13 November, 2002 |
---|
95 | <!--webbot bot="Timestamp" endspan i-checksum="39359" --> |
---|
96 | </p> |
---|
97 | |
---|
98 | <p><i>© Copyright <a href= |
---|
99 | "../../../../people/dave_abrahams.htm">Dave Abrahams</a> 2002.</i></p> |
---|
100 | </body> |
---|
101 | </html> |
---|
102 | |
---|