glossary.qbk 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. [chapter Glossary
  2. [quickbook 1.7]
  3. [id glossary]
  4. ]
  5. [variablelist
  6. [[arity [#arity]]
  7. [The number of argumnts accepted by a function or member function.
  8. Unless otherwise specified, the hidden `this` argument to member
  9. functions is not counted when specifying arity.]]
  10. [[ntbs [#ntbs]]
  11. [Null-Terminated Byte String, or 'C'-string. C++ string literals are *ntbs*\ es.
  12. An *ntbs* must never be null.]]
  13. [[raise [#raise]]
  14. [Exceptions in Python are "raised", not "thrown", as they are in C++.
  15. When this documentation says that some Python exception is "raised" in
  16. the context of C++ code, it means that the corresponding Python exception
  17. is set via the [@http://www.python.org/doc/current/api/exceptionHandling.html Python/'C' API],
  18. and `throw_error_already_set()` is called.]]
  19. [[POD [#pod]]
  20. [A technical term from the C++ standard. Short for "Plain Ol'Data":
  21. A POD-struct is an aggregate class that has no non-static data members
  22. of type pointer to member, non-POD-struct, non-POD-union (or array of such
  23. types) or reference, and has no user-defined copy assign- ment operator and
  24. no user-defined destructor. Similarly, a POD-union is an aggregate union that
  25. has no non-static data members of type pointer to member, non-POD-struct,
  26. non-POD-union (or array of such types) or reference, and has no
  27. user-defined copy assignment operator and no user-defined destructor. A
  28. POD class is a class that is either a POD-struct or a POD-union. An
  29. aggregate is an array or a class (clause 9) with no user-declared
  30. constructors (12.1), no private or protected non-static data members
  31. (clause 11), no base classes (clause 10), and no virtual functions
  32. (10.3).]]
  33. [[ODR [#odr]]
  34. [The "One Definition Rule", which says that any entity in a C++ program must have
  35. the same definition in all translation units (object files) which make up a program.]]
  36. ]