From 5cde13f21d36c7224b0e13d11c4b49379ae5210d Mon Sep 17 00:00:00 2001 From: DongHun Kwak Date: Thu, 6 Oct 2016 10:38:45 +0900 Subject: Imported Upstream version 1.61.0 Change-Id: I96a1f878d1e6164f01e9aadd5147f38fca448d90 Signed-off-by: DongHun Kwak --- libs/python/doc/html/building.html | 14 ++--- libs/python/doc/html/building/background.html | 4 +- .../building/choosing_a_boost_python_library_.html | 20 +++--- .../doc/html/building/configuring_boost_build.html | 14 ++--- libs/python/doc/html/building/include_issues.html | 2 +- .../building/installing_boost_python_on_your_.html | 2 +- .../doc/html/building/no_install_quickstart.html | 8 +-- .../building/notes_for_mingw_and_cygwin_with_.html | 2 +- .../doc/html/building/python_debugging_builds.html | 8 +-- .../doc/html/building/testing_boost_python.html | 2 +- libs/python/doc/html/configuration.html | 10 +-- libs/python/doc/html/faq.html | 8 +-- .../html/faq/compilation_takes_too_much_time_.html | 2 +- .../html/faq/does_boost_python_work_with_mac_.html | 2 +- .../html/faq/error_c2064_term_does_not_evalua.html | 2 +- .../html/faq/fatal_error_c1204_compiler_limit.html | 2 +- .../html/faq/how_can_i_automatically_convert_.html | 4 +- .../html/faq/how_can_i_find_the_existing_pyob.html | 2 +- .../html/faq/how_can_i_wrap_a_function_which0.html | 2 +- .../html/faq/how_can_i_wrap_functions_which_t.html | 2 +- .../html/faq/how_do_i_create_sub_packages_usi.html | 2 +- .../html/faq/how_do_i_debug_my_python_extensi.html | 4 +- .../html/faq/i_m_getting_the_attempt_to_retur.html | 2 +- .../html/faq/is_boost_python_thread_aware_com.html | 2 +- .../html/faq/is_return_internal_reference_eff.html | 2 +- .../doc/html/faq/why_doesn_t_my_operator_work.html | 2 +- .../html/faq/why_is_my_automatic_to_python_co.html | 2 +- libs/python/doc/html/glossary.html | 8 +-- libs/python/doc/html/index.html | 12 ++-- libs/python/doc/html/reference/concepts.html | 10 +-- .../html/reference/concepts/dereferenceable.html | 4 +- .../doc/html/reference/concepts/extractor.html | 4 +- .../html/reference/concepts/holdergenerator.html | 4 +- .../doc/html/reference/concepts/objectwrapper.html | 4 +- .../html/reference/concepts/resultconverter.html | 4 +- libs/python/doc/html/reference/embedding.html | 16 ++--- .../embedding/boost_python_import_hpp.html | 6 +- .../function_invocation_and_creation.html | 18 +++--- .../boost_python_call_hpp.html | 6 +- .../boost_python_call_method_hpp.html | 6 +- .../boost_python_data_members_hpp.html | 12 ++-- .../boost_python_make_function_hpp.html | 10 +-- .../boost_python_overloads_hpp.html | 8 +-- .../boost_python_ptr_hpp.html | 16 ++--- .../boost_python_raw_function_hpp.html | 6 +- .../function_documentation.html | 8 +-- .../models_of_callpolicies.html | 28 ++++----- .../models_of_resultconverter.html | 18 +++--- .../models_of_resultconvertergenerat.html | 28 ++++----- libs/python/doc/html/reference/glossary.html | 8 +-- .../doc/html/reference/high_level_components.html | 46 +++++++------- .../boost_python_def_hpp.html | 8 +-- .../boost_python_def_visitor_hpp.html | 6 +- .../boost_python_docstring_options_h.html | 14 ++--- .../boost_python_enum_hpp.html | 10 +-- .../boost_python_errors_hpp.html | 12 ++-- .../boost_python_exception_translato.html | 6 +- .../boost_python_init_hpp.html | 14 ++--- .../boost_python_iterator_hpp.html | 12 ++-- .../boost_python_module_hpp.html | 4 +- .../boost_python_operators_hpp.html | 6 +- .../boost_python_scope_hpp.html | 4 +- .../boost_python_stl_iterator_hpp.html | 18 +++--- .../boost_python_wrapper_hpp.html | 8 +-- libs/python/doc/html/reference/index.html | 6 +- .../python/doc/html/reference/object_wrappers.html | 10 +-- .../object_wrappers/boost_python_list_hpp.html | 4 +- .../object_wrappers/boost_python_long_hpp.html | 4 +- .../object_wrappers/boost_python_numeric_hpp.html | 8 +-- .../object_wrappers/boost_python_object_hpp.html | 72 +++++++++++----------- .../object_wrappers/boost_python_slice_hpp.html | 14 ++--- .../object_wrappers/boost_python_str_hpp.html | 4 +- .../object_wrappers/boost_python_tuple_hpp.html | 6 +- .../reference/to_from_python_type_conversion.html | 16 ++--- .../boost_python_implicit_hpp.html | 6 +- .../boost_python_lvalue_from_pytype_.html | 16 ++--- .../boost_python_opaque_pointer_conv.html | 8 +-- .../boost_python_register_ptr_to_pyt.html | 6 +- .../boost_python_to_python_converter.html | 8 +-- libs/python/doc/html/reference/topics.html | 10 +-- .../html/reference/topics/indexing_support.html | 12 ++-- .../doc/html/reference/topics/pickle_support.html | 10 +-- .../html/reference/utility_and_infrastructure.html | 10 +-- .../boost_python_handle_hpp.html | 34 +++++----- .../boost_python_instance_holder_hpp.html | 12 ++-- .../boost_python_pointee_hpp.html | 4 +- .../boost_python_ssize_t_hpp.html | 4 +- .../boost_python_type_id_hpp.html | 18 +++--- libs/python/doc/html/support.html | 12 ++-- libs/python/doc/html/tutorial/index.html | 8 +-- .../doc/html/tutorial/tutorial/embedding.html | 28 ++++----- .../doc/html/tutorial/tutorial/exception.html | 2 +- .../doc/html/tutorial/tutorial/exposing.html | 16 ++--- .../doc/html/tutorial/tutorial/functions.html | 32 +++++----- libs/python/doc/html/tutorial/tutorial/hello.html | 10 +-- .../doc/html/tutorial/tutorial/iterators.html | 12 ++-- libs/python/doc/html/tutorial/tutorial/object.html | 10 +-- .../doc/html/tutorial/tutorial/techniques.html | 21 ++----- libs/python/doc/tutorial.qbk | 36 +++++------ 99 files changed, 507 insertions(+), 522 deletions(-) (limited to 'libs/python') diff --git a/libs/python/doc/html/building.html b/libs/python/doc/html/building.html index 5f4a4a6b1d..ce9a6d881d 100644 --- a/libs/python/doc/html/building.html +++ b/libs/python/doc/html/building.html @@ -3,7 +3,7 @@ Chapter 1. Building and Testing - + @@ -17,14 +17,14 @@
-

-Chapter 1. Building and Testing

+

+Chapter 1. Building and Testing

David Abrahams

-

Boost.Python requires Python 2.2 - [1] or newer. + [1] or newer.

-

-

[1] +


+

[1] Note that although we tested earlier versions of Boost.Python with Python 2.2, and we don't think we've done anything to break compatibility, this release of Boost.Python may not have been diff --git a/libs/python/doc/html/building/background.html b/libs/python/doc/html/building/background.html index a7aca7f031..7e746c8f38 100644 --- a/libs/python/doc/html/building/background.html +++ b/libs/python/doc/html/building/background.html @@ -3,7 +3,7 @@ Background - + @@ -22,7 +22,7 @@

There are two basic models for combining C++ and Python:

-
    +
    • extending, in which the end-user launches the Python interpreter executable and diff --git a/libs/python/doc/html/building/choosing_a_boost_python_library_.html b/libs/python/doc/html/building/choosing_a_boost_python_library_.html index 0e0c4d1120..6e9715bf28 100644 --- a/libs/python/doc/html/building/choosing_a_boost_python_library_.html +++ b/libs/python/doc/html/building/choosing_a_boost_python_library_.html @@ -3,7 +3,7 @@ Choosing a Boost.Python Library Binary - + @@ -20,7 +20,7 @@ Choosing a Boost.Python Library Binary
-
+
The Dynamic Binary
The @@ -31,7 +31,7 @@ automatically—you choose to use a pre-built Boost.Python library, you'll need to think about which one to link with. The Boost.Python binary comes in both static and dynamic flavors. Take care to choose the right flavor - for your application. [3] + for your application. [3]

@@ -41,10 +41,10 @@

The dynamic library is the safest and most-versatile choice:

-
    +
    • A single copy of the library code is used by all extension modules - built with a given toolset. [4] + built with a given toolset. [4]
    • The library contains a type conversion registry. Because one registry @@ -63,7 +63,7 @@ It might be appropriate to use the static Boost.Python library in any of the following cases:

      -
        +
        • You are extending python and the types exposed in your dynamically-loaded extension module @@ -73,7 +73,7 @@
        • You are embedding python in your application and either: -
            +
            • You are targeting a Unix variant OS other than MacOS or AIX, where the dynamically-loaded extension modules can “see” @@ -90,14 +90,14 @@
          -

          -

          [3] +


          +

          [3] Information about how to identify the static and dynamic builds of Boost.Python on Windows / Unix variants

          -

          [4] +

          [4] Because of the way most *nix platforms share symbols among dynamically-loaded objects, I'm not certain that extension modules built with different compiler toolsets will always use different copies of the Boost.Python diff --git a/libs/python/doc/html/building/configuring_boost_build.html b/libs/python/doc/html/building/configuring_boost_build.html index 5fe5b5e8cc..c4a77fd0d4 100644 --- a/libs/python/doc/html/building/configuring_boost_build.html +++ b/libs/python/doc/html/building/configuring_boost_build.html @@ -3,7 +3,7 @@ Configuring Boost.Build - + @@ -19,7 +19,7 @@

          -
          +
          Python Configuration Parameters
          Examples
          @@ -40,7 +40,7 @@

          If you are using a unix-variant OS and you ran Boost's configure script, it may have generated a user-config.jam - for you. [2] If your configure/make sequence was successful and Boost.Python + for you. [2] If your configure/make sequence was successful and Boost.Python binaries were built, your user-config.jam file is probably already correct.

          @@ -75,7 +75,7 @@

          -
          +
          version

          the version of Python to use. Should be in Major.Minor format, for @@ -134,7 +134,7 @@ Note that in the examples below, case and especially whitespace are significant.

          -
            +
            • If you have both python 2.5 and python 2.4 installed, user-config.jam might contain @@ -239,8 +239,8 @@

          -

          -

          [2] +


          +

          [2] configure overwrites the existing user-config.jam in your home directory (if any) after making a backup of the old version. diff --git a/libs/python/doc/html/building/include_issues.html b/libs/python/doc/html/building/include_issues.html index edaf1ae4ae..b2622cf441 100644 --- a/libs/python/doc/html/building/include_issues.html +++ b/libs/python/doc/html/building/include_issues.html @@ -3,7 +3,7 @@ #include Issues - + diff --git a/libs/python/doc/html/building/installing_boost_python_on_your_.html b/libs/python/doc/html/building/installing_boost_python_on_your_.html index 2d96c30657..3b13bfb427 100644 --- a/libs/python/doc/html/building/installing_boost_python_on_your_.html +++ b/libs/python/doc/html/building/installing_boost_python_on_your_.html @@ -3,7 +3,7 @@ Installing Boost.Python on your System - + diff --git a/libs/python/doc/html/building/no_install_quickstart.html b/libs/python/doc/html/building/no_install_quickstart.html index 714d3850f4..27fb1c4eda 100644 --- a/libs/python/doc/html/building/no_install_quickstart.html +++ b/libs/python/doc/html/building/no_install_quickstart.html @@ -3,7 +3,7 @@ No-Install Quickstart - + @@ -19,7 +19,7 @@

          -

-
+
Relocate the Project
Add diff --git a/libs/python/doc/html/building/notes_for_mingw_and_cygwin_with_.html b/libs/python/doc/html/building/notes_for_mingw_and_cygwin_with_.html index c3303f3367..a8c46628e8 100644 --- a/libs/python/doc/html/building/notes_for_mingw_and_cygwin_with_.html +++ b/libs/python/doc/html/building/notes_for_mingw_and_cygwin_with_.html @@ -3,7 +3,7 @@ Notes for MinGW (and Cygwin with -mno-cygwin) GCC Users - + diff --git a/libs/python/doc/html/building/python_debugging_builds.html b/libs/python/doc/html/building/python_debugging_builds.html index 6b4992f6aa..6363b1cbb2 100644 --- a/libs/python/doc/html/building/python_debugging_builds.html +++ b/libs/python/doc/html/building/python_debugging_builds.html @@ -3,7 +3,7 @@ Python Debugging Builds - + @@ -29,7 +29,7 @@

Since pre-built “python debugging” versions of the Python executable - and libraries are not supplied with most distributions of Python, [5] and we didn't want to force our users to build them, Boost.Build + and libraries are not supplied with most distributions of Python, [5] and we didn't want to force our users to build them, Boost.Build does not automatically enable python debugging in its debug build variant (which is the default). Instead there is a special build property called python-debugging that, when used as a build property, @@ -51,8 +51,8 @@ is defined, or python debugging will be suppressed.

-

-

[5] +


+

[5] On Unix and similar platforms, a debugging python and associated libraries are built by adding --with-pydebug when configuring the Python build. On Windows, the debugging version of Python is generated by the "Win32 diff --git a/libs/python/doc/html/building/testing_boost_python.html b/libs/python/doc/html/building/testing_boost_python.html index dc8196238c..d546df8856 100644 --- a/libs/python/doc/html/building/testing_boost_python.html +++ b/libs/python/doc/html/building/testing_boost_python.html @@ -3,7 +3,7 @@ Testing Boost.Python - + diff --git a/libs/python/doc/html/configuration.html b/libs/python/doc/html/configuration.html index 61b26e7413..b8b0067fb5 100644 --- a/libs/python/doc/html/configuration.html +++ b/libs/python/doc/html/configuration.html @@ -3,7 +3,7 @@ Chapter 2. Configuration - + @@ -17,14 +17,14 @@

-

-Chapter 2. Configuration

+

+Chapter 2. Configuration

David Abrahams

-
+
Configuration
Introduction
@@ -38,7 +38,7 @@ -
+
Introduction
Application Defined Macros
diff --git a/libs/python/doc/html/faq.html b/libs/python/doc/html/faq.html index 4206c87ae7..4a789f9b52 100644 --- a/libs/python/doc/html/faq.html +++ b/libs/python/doc/html/faq.html @@ -3,7 +3,7 @@ Chapter 4. Frequently Asked Questions (FAQs) - + @@ -16,9 +16,9 @@ PrevUpHomeNext
-

-Chapter 4. Frequently Asked Questions (FAQs)

-
+

+Chapter 4. Frequently Asked Questions (FAQs)

+
How can I wrap a function which takes a function pointer as an argument?
I'm getting the diff --git a/libs/python/doc/html/faq/compilation_takes_too_much_time_.html b/libs/python/doc/html/faq/compilation_takes_too_much_time_.html index 3e99deee42..7023e110e3 100644 --- a/libs/python/doc/html/faq/compilation_takes_too_much_time_.html +++ b/libs/python/doc/html/faq/compilation_takes_too_much_time_.html @@ -3,7 +3,7 @@ Compilation takes too much time and eats too much memory! What can I do to make it faster? - + diff --git a/libs/python/doc/html/faq/does_boost_python_work_with_mac_.html b/libs/python/doc/html/faq/does_boost_python_work_with_mac_.html index 6f61f8dbf8..7c4faee51f 100644 --- a/libs/python/doc/html/faq/does_boost_python_work_with_mac_.html +++ b/libs/python/doc/html/faq/does_boost_python_work_with_mac_.html @@ -3,7 +3,7 @@ Does Boost.Python work with Mac OS X? - + diff --git a/libs/python/doc/html/faq/error_c2064_term_does_not_evalua.html b/libs/python/doc/html/faq/error_c2064_term_does_not_evalua.html index 179789ac52..93f089463b 100644 --- a/libs/python/doc/html/faq/error_c2064_term_does_not_evalua.html +++ b/libs/python/doc/html/faq/error_c2064_term_does_not_evalua.html @@ -3,7 +3,7 @@ error C2064: term does not evaluate to a function taking 2 arguments - + diff --git a/libs/python/doc/html/faq/fatal_error_c1204_compiler_limit.html b/libs/python/doc/html/faq/fatal_error_c1204_compiler_limit.html index c353d6d67b..60b99f0d03 100644 --- a/libs/python/doc/html/faq/fatal_error_c1204_compiler_limit.html +++ b/libs/python/doc/html/faq/fatal_error_c1204_compiler_limit.html @@ -3,7 +3,7 @@ fatal error C1204:Compiler limit:internal structure overflow - + diff --git a/libs/python/doc/html/faq/how_can_i_automatically_convert_.html b/libs/python/doc/html/faq/how_can_i_automatically_convert_.html index ca02ee26de..f417aa199b 100644 --- a/libs/python/doc/html/faq/how_can_i_automatically_convert_.html +++ b/libs/python/doc/html/faq/how_can_i_automatically_convert_.html @@ -3,7 +3,7 @@ How can I automatically convert my custom string type to and from a Python string? - + @@ -34,7 +34,7 @@

If you look at the code you will find:

-
-

-Chapter 5. Glossary

+

+Chapter 5. Glossary

-
+
arity

The number of argumnts accepted by a function or member function. Unless diff --git a/libs/python/doc/html/index.html b/libs/python/doc/html/index.html index a333b48065..599caf02f0 100644 --- a/libs/python/doc/html/index.html +++ b/libs/python/doc/html/index.html @@ -3,7 +3,7 @@ Boost.Python - + @@ -37,14 +37,14 @@

- Synopsis + Synopsis

Welcome to Boost.Python, a C++ library which enables seamless interoperability between C++ and the Python programming language. The library includes support for:

-
    +
    • References and Pointers
    • @@ -86,7 +86,7 @@ -
      - +

      Last revised: December 14, 2015 at 09:15:10 GMT

      Last revised: May 05, 2016 at 21:25:19 GMT


      diff --git a/libs/python/doc/html/reference/concepts.html b/libs/python/doc/html/reference/concepts.html index 49ca292b52..5a49fd1c0b 100644 --- a/libs/python/doc/html/reference/concepts.html +++ b/libs/python/doc/html/reference/concepts.html @@ -3,7 +3,7 @@ Chapter 1. Concepts - + @@ -16,11 +16,11 @@ PrevUpHomeNext
    -

    -Chapter 1. Concepts

    +

    +Chapter 1. Concepts

    Table of Contents

    -
    +
    CallPolicies
    Introduction
    @@ -70,7 +70,7 @@ -
    +
    Introduction
    CallPolicies Composition
    diff --git a/libs/python/doc/html/reference/concepts/dereferenceable.html b/libs/python/doc/html/reference/concepts/dereferenceable.html index 78df9ff0f4..a08e534275 100644 --- a/libs/python/doc/html/reference/concepts/dereferenceable.html +++ b/libs/python/doc/html/reference/concepts/dereferenceable.html @@ -3,7 +3,7 @@ Dereferenceable - + @@ -19,7 +19,7 @@ -
    +
    Introduction
    Concept Requirements
    diff --git a/libs/python/doc/html/reference/concepts/extractor.html b/libs/python/doc/html/reference/concepts/extractor.html index 38ebbea20d..222a6dbc1e 100644 --- a/libs/python/doc/html/reference/concepts/extractor.html +++ b/libs/python/doc/html/reference/concepts/extractor.html @@ -3,7 +3,7 @@ Extractor - + @@ -19,7 +19,7 @@ -
    +
    Introduction
    Concept Requirements
    Notes
    diff --git a/libs/python/doc/html/reference/concepts/holdergenerator.html b/libs/python/doc/html/reference/concepts/holdergenerator.html index 2e82370001..1d8548000c 100644 --- a/libs/python/doc/html/reference/concepts/holdergenerator.html +++ b/libs/python/doc/html/reference/concepts/holdergenerator.html @@ -3,7 +3,7 @@ HolderGenerator - + @@ -19,7 +19,7 @@ -
    +
    Introduction
    Concept Requirements
    diff --git a/libs/python/doc/html/reference/concepts/objectwrapper.html b/libs/python/doc/html/reference/concepts/objectwrapper.html index 7f3c68f9c5..c8e63ecbb3 100644 --- a/libs/python/doc/html/reference/concepts/objectwrapper.html +++ b/libs/python/doc/html/reference/concepts/objectwrapper.html @@ -3,7 +3,7 @@ ObjectWrapper - + @@ -19,7 +19,7 @@ -
    +
    Introduction
    ObjectWrapper Concept Requirements
    diff --git a/libs/python/doc/html/reference/concepts/resultconverter.html b/libs/python/doc/html/reference/concepts/resultconverter.html index b3f1b88940..f7acfe88d1 100644 --- a/libs/python/doc/html/reference/concepts/resultconverter.html +++ b/libs/python/doc/html/reference/concepts/resultconverter.html @@ -3,7 +3,7 @@ ResultConverter - + @@ -19,7 +19,7 @@ -
    +
    Introduction
    ResultConverter Concept Requirements
    diff --git a/libs/python/doc/html/reference/embedding.html b/libs/python/doc/html/reference/embedding.html index 1fa7e30a8e..54218dc628 100644 --- a/libs/python/doc/html/reference/embedding.html +++ b/libs/python/doc/html/reference/embedding.html @@ -3,7 +3,7 @@ Chapter 6. Embedding - + @@ -16,11 +16,11 @@ PrevUpHomeNext
    -

    -Chapter 6. Embedding

    +

    +Chapter 6. Embedding

    Table of Contents

    -
    +
    boost/python/exec.hpp
    Introduction
    @@ -45,7 +45,7 @@ -
    +
    Introduction
    Function eval
    @@ -74,7 +74,7 @@

    -
    +
    Effects

    Evaluate Python expression from expression in the context specified @@ -98,7 +98,7 @@

    -
    +
    Effects

    Execute Python source code from code in the context specified by @@ -122,7 +122,7 @@

    -
    +
    Effects

    Execute Python source code from the file named by filename in the diff --git a/libs/python/doc/html/reference/embedding/boost_python_import_hpp.html b/libs/python/doc/html/reference/embedding/boost_python_import_hpp.html index 2d3f97ede1..a1addfb6b2 100644 --- a/libs/python/doc/html/reference/embedding/boost_python_import_hpp.html +++ b/libs/python/doc/html/reference/embedding/boost_python_import_hpp.html @@ -3,7 +3,7 @@ boost/python/import.hpp - + @@ -19,7 +19,7 @@

    -
    +
    Introduction
    Function import
    @@ -41,7 +41,7 @@
    object import(str name);

    -
    +
    Effects

    Imports the module named by name. diff --git a/libs/python/doc/html/reference/function_invocation_and_creation.html b/libs/python/doc/html/reference/function_invocation_and_creation.html index 04800de1c5..312bd336eb 100644 --- a/libs/python/doc/html/reference/function_invocation_and_creation.html +++ b/libs/python/doc/html/reference/function_invocation_and_creation.html @@ -3,7 +3,7 @@ Chapter 4. Function Invocation and Creation - + @@ -16,11 +16,11 @@ PrevUpHomeNext

    -

    -Chapter 4. Function Invocation and Creation

    +

    +Chapter 4. Function Invocation and Creation

    Table of Contents

    -
    +
    boost/python/args.hpp
    Introduction
    @@ -130,7 +130,7 @@ -
    +
    Introduction
    Class arg
    @@ -146,7 +146,7 @@ - +

    Supplies a family of overloaded functions for specifying argument keywords for wrapped C++ functions. @@ -192,7 +192,7 @@

    arg(char const* name);

    -
    +
    Requires

    The argument must be a ntbs. @@ -212,7 +212,7 @@

    template <class T> arg &operator = (T const &value);

    -
    +
    Requires

    The argument must convertible to python. @@ -238,7 +238,7 @@

    -
    +
    Requires

    The argument name must be a ntbs. diff --git a/libs/python/doc/html/reference/function_invocation_and_creation/boost_python_call_hpp.html b/libs/python/doc/html/reference/function_invocation_and_creation/boost_python_call_hpp.html index ddf8b71756..5697bb0acb 100644 --- a/libs/python/doc/html/reference/function_invocation_and_creation/boost_python_call_hpp.html +++ b/libs/python/doc/html/reference/function_invocation_and_creation/boost_python_call_hpp.html @@ -3,7 +3,7 @@ boost/python/call.hpp - + @@ -19,7 +19,7 @@

    -
    +
    Introduction
    Function call
    @@ -42,7 +42,7 @@

    -
    +
    Requires

    R is a pointer type, reference type, or a complete type with an accessible diff --git a/libs/python/doc/html/reference/function_invocation_and_creation/boost_python_call_method_hpp.html b/libs/python/doc/html/reference/function_invocation_and_creation/boost_python_call_method_hpp.html index 0fecfcc720..7c19ff1ee8 100644 --- a/libs/python/doc/html/reference/function_invocation_and_creation/boost_python_call_method_hpp.html +++ b/libs/python/doc/html/reference/function_invocation_and_creation/boost_python_call_method_hpp.html @@ -3,7 +3,7 @@ boost/python/call_method.hpp - + @@ -19,7 +19,7 @@

    -
    +
    Introduction
    Function call_method
    @@ -45,7 +45,7 @@

    -
    +
    Requires

    R is a pointer type, diff --git a/libs/python/doc/html/reference/function_invocation_and_creation/boost_python_data_members_hpp.html b/libs/python/doc/html/reference/function_invocation_and_creation/boost_python_data_members_hpp.html index 8bb289f8ee..580c5b158f 100644 --- a/libs/python/doc/html/reference/function_invocation_and_creation/boost_python_data_members_hpp.html +++ b/libs/python/doc/html/reference/function_invocation_and_creation/boost_python_data_members_hpp.html @@ -3,7 +3,7 @@ boost/python/data_members.hpp - + @@ -19,7 +19,7 @@

    -
    +
    Introduction
    Functions
    Example
    @@ -47,7 +47,7 @@

    -
    +
    Requires

    Policies is a model of CallPolicies. @@ -81,7 +81,7 @@

    -
    +
    Requires

    Policies is a model of CallPolicies. @@ -108,7 +108,7 @@

    -
    +
    Requires

    Policies is a model of CallPolicies. @@ -139,7 +139,7 @@

    -
    +
    Requires

    Policies is a model of CallPolicies. diff --git a/libs/python/doc/html/reference/function_invocation_and_creation/boost_python_make_function_hpp.html b/libs/python/doc/html/reference/function_invocation_and_creation/boost_python_make_function_hpp.html index ef9e1b0ac7..bd2b234c6c 100644 --- a/libs/python/doc/html/reference/function_invocation_and_creation/boost_python_make_function_hpp.html +++ b/libs/python/doc/html/reference/function_invocation_and_creation/boost_python_make_function_hpp.html @@ -3,7 +3,7 @@ boost/python/make_function.hpp - + @@ -19,7 +19,7 @@

    -
    +
    Introduction
    Functions
    Example
    @@ -52,7 +52,7 @@

    -
    +
    Requires

    F is a function pointer or member function pointer type. If policies @@ -69,7 +69,7 @@ from the first Python argument, and subsequent Python arguments will be used as the arguments to f.

    -
      +
      • If policies are supplied, it will be applied to the function as described here. @@ -117,7 +117,7 @@

        -
        +
        Requires

        F is a function pointer type. If policies are supplied, it must be diff --git a/libs/python/doc/html/reference/function_invocation_and_creation/boost_python_overloads_hpp.html b/libs/python/doc/html/reference/function_invocation_and_creation/boost_python_overloads_hpp.html index d2bdaf9a9d..71e7695167 100644 --- a/libs/python/doc/html/reference/function_invocation_and_creation/boost_python_overloads_hpp.html +++ b/libs/python/doc/html/reference/function_invocation_and_creation/boost_python_overloads_hpp.html @@ -3,7 +3,7 @@ boost/python/overloads.hpp - + @@ -19,7 +19,7 @@

        -
        +
        Introduction
        OverloadDispatcher Concept
        @@ -30,7 +30,7 @@ - +

        Defines facilities for generating families of overloaded Python functions and extension class methods from C++ functions and member functions with @@ -47,7 +47,7 @@

        -
        +
        docstring

        An ntbs whose value will bound to the diff --git a/libs/python/doc/html/reference/function_invocation_and_creation/boost_python_ptr_hpp.html b/libs/python/doc/html/reference/function_invocation_and_creation/boost_python_ptr_hpp.html index 706774c11d..567895dfc9 100644 --- a/libs/python/doc/html/reference/function_invocation_and_creation/boost_python_ptr_hpp.html +++ b/libs/python/doc/html/reference/function_invocation_and_creation/boost_python_ptr_hpp.html @@ -3,7 +3,7 @@ boost/python/ptr.hpp - + @@ -19,7 +19,7 @@

        -
        +
        Introduction
        Functions
        Class @@ -69,7 +69,7 @@

        -
        +
        Requires

        T is a pointer type. @@ -130,7 +130,7 @@

        -
        +
        Requires

        Ptr is a pointer @@ -159,7 +159,7 @@

        -
        +
        Returns

        a copy of the stored pointer. @@ -177,7 +177,7 @@

        -
        +
        Class template is_pointer_wrapper
        Class @@ -201,7 +201,7 @@

        -
        +
        Returns

        true iff T is a specialization of pointer_wrapper<>. @@ -230,7 +230,7 @@

        -
        +
        Returns

        T::type if T diff --git a/libs/python/doc/html/reference/function_invocation_and_creation/boost_python_raw_function_hpp.html b/libs/python/doc/html/reference/function_invocation_and_creation/boost_python_raw_function_hpp.html index fe3cde7440..bc4fcabaf1 100644 --- a/libs/python/doc/html/reference/function_invocation_and_creation/boost_python_raw_function_hpp.html +++ b/libs/python/doc/html/reference/function_invocation_and_creation/boost_python_raw_function_hpp.html @@ -3,7 +3,7 @@ boost/python/raw_function.hpp - + @@ -19,7 +19,7 @@

        -
        +
        Introduction
        Function raw_function
        @@ -45,7 +45,7 @@

        -
        +
        Requires

        f(tuple(), dict()) is well-formed. diff --git a/libs/python/doc/html/reference/function_invocation_and_creation/function_documentation.html b/libs/python/doc/html/reference/function_invocation_and_creation/function_documentation.html index 772ac1b2ab..ba1b75be24 100644 --- a/libs/python/doc/html/reference/function_invocation_and_creation/function_documentation.html +++ b/libs/python/doc/html/reference/function_invocation_and_creation/function_documentation.html @@ -3,7 +3,7 @@ Function documentation - + @@ -20,7 +20,7 @@ Function documentation

        -
        + @@ -28,7 +28,7 @@ -
        +
        Introduction
        Class function_doc_signature_generator
        @@ -184,7 +184,7 @@ -
        +
        Introduction
        Class wrap_pytype
        diff --git a/libs/python/doc/html/reference/function_invocation_and_creation/models_of_callpolicies.html b/libs/python/doc/html/reference/function_invocation_and_creation/models_of_callpolicies.html index 385e2c15e0..bc2c295f58 100644 --- a/libs/python/doc/html/reference/function_invocation_and_creation/models_of_callpolicies.html +++ b/libs/python/doc/html/reference/function_invocation_and_creation/models_of_callpolicies.html @@ -3,7 +3,7 @@ Models of CallPolicies - + @@ -20,7 +20,7 @@ Models of CallPolicies
        -
        +
        boost/python/default_call_policies.hpp
        boost/python/return_arg.hpp
        boost/python/return_internal_reference.hpp
        @@ -31,7 +31,7 @@ -
        +
        Class default_call_policies
        Class @@ -80,7 +80,7 @@
        bool precall(PyObject*);

        -
        +
        Returns

        true @@ -94,7 +94,7 @@

        PyObject* postcall(PyObject*, PyObject* result);

        -
        +
        Returns

        result @@ -133,7 +133,7 @@

        template <class T> struct apply

        -
        +
        Requires

        T is not a reference type. If T is a pointer type, T is const char* @@ -167,7 +167,7 @@

        -
        +
        Introduction
        Class return_arg
        @@ -294,7 +294,7 @@
        PyObject* postcall(PyObject* args, PyObject* result);

        -
        +
        Requires

        PyTuple_Check(args) @@ -380,7 +380,7 @@

        -
        +
        Introduction
        Class template return_internal_reference
        @@ -511,7 +511,7 @@
        PyObject* postcall(PyObject* args, PyObject* result);

        -
        +
        Requires

        PyTuple_Check(args) @@ -592,7 +592,7 @@

        -
        +
        Introduction
        Class template return_value_policy
        @@ -727,7 +727,7 @@ -
        +
        Introduction
        Class with_custodian_and_ward
        @@ -898,7 +898,7 @@
        bool precall(PyObject* args);

        -
        +
        Requires

        PyTuple_Check(args) @@ -1041,7 +1041,7 @@

        PyObject *postcall(PyObject* args, PyObject* result);

        -
        +
        Requires

        PyTuple_Check(args) diff --git a/libs/python/doc/html/reference/function_invocation_and_creation/models_of_resultconverter.html b/libs/python/doc/html/reference/function_invocation_and_creation/models_of_resultconverter.html index d5a96bce97..a157e70e27 100644 --- a/libs/python/doc/html/reference/function_invocation_and_creation/models_of_resultconverter.html +++ b/libs/python/doc/html/reference/function_invocation_and_creation/models_of_resultconverter.html @@ -3,7 +3,7 @@ Models of ResultConverter - + @@ -20,7 +20,7 @@ Models of ResultConverter

        -
        + @@ -28,7 +28,7 @@ -
        + @@ -36,7 +36,7 @@ -
        +
        Class to_python_indirect
        Class @@ -145,7 +145,7 @@
        PyObject* operator()(T x) const;

        -
        +
        Requires

        x refers to an @@ -170,7 +170,7 @@

        bool convertible()

        -
        +
        Effects

        Returns true iff any module has registered a Python type corresponding @@ -214,7 +214,7 @@

        -
        +
        Introduction
        Class template to_python_value
        @@ -259,7 +259,7 @@
        static bool convertible();

        -
        +
        Returns

        true iff a converter @@ -271,7 +271,7 @@

        PyObject* operator()(argument_type x) const;

        -
        +
        Requires

        convertible() diff --git a/libs/python/doc/html/reference/function_invocation_and_creation/models_of_resultconvertergenerat.html b/libs/python/doc/html/reference/function_invocation_and_creation/models_of_resultconvertergenerat.html index 622c61ac37..e0b707028b 100644 --- a/libs/python/doc/html/reference/function_invocation_and_creation/models_of_resultconvertergenerat.html +++ b/libs/python/doc/html/reference/function_invocation_and_creation/models_of_resultconvertergenerat.html @@ -3,7 +3,7 @@ Models of ResultConverterGenerator - + @@ -20,7 +20,7 @@ Models of ResultConverterGenerator

        -
        +
        boost/python/copy_const_reference.hpp
        boost/python/copy_non_const_reference.hpp
        boost/python/manage_new_object.hpp
        @@ -32,7 +32,7 @@ -
        +
        Class copy_const_reference
        Class @@ -67,7 +67,7 @@
        template <class T> struct apply

        -
        +
        Requires

        T is U const& for some U. @@ -126,7 +126,7 @@

        -
        +
        Class copy_non_const_reference
        Class @@ -163,7 +163,7 @@
        template <class T> struct apply

        -
        +
        Requires

        T is U & @@ -223,7 +223,7 @@

        -
        +
        Class manage_new_object
        Class @@ -259,7 +259,7 @@
        template <class T> struct apply

        -
        +
        Requires

        T is U* @@ -317,7 +317,7 @@

        -
        +
        Class reference_existing_object
        Class @@ -362,7 +362,7 @@
        template <class T> struct apply

        -
        +
        Requires

        T is U& @@ -443,7 +443,7 @@

        -
        +
        Class return_by_value
        Class @@ -478,7 +478,7 @@
        template <class T> struct apply

        -
        +
        Returns

        typedef to_python_value<T> type; @@ -538,7 +538,7 @@

        -
        +
        Class return_opaqe_pointer
        Class @@ -578,7 +578,7 @@
        template <class T> struct apply
        -

        -Chapter 9. Glossary

        +

        +Chapter 9. Glossary

        -
        +
        arity

        The number of argumnts accepted by a function or member function. Unless diff --git a/libs/python/doc/html/reference/high_level_components.html b/libs/python/doc/html/reference/high_level_components.html index f73397b38e..d9d5d45dcf 100644 --- a/libs/python/doc/html/reference/high_level_components.html +++ b/libs/python/doc/html/reference/high_level_components.html @@ -3,7 +3,7 @@ Chapter 2. High Level Components - + @@ -16,11 +16,11 @@ PrevUpHomeNext

        -

        -Chapter 2. High Level Components

        +

        +Chapter 2. High Level Components

        -
        +
        HeldType Semantics
        Class @@ -496,7 +496,7 @@

        -
        +
        Requires

        name is an ntbs which conforms to Python's @@ -516,7 +516,7 @@ attribute of the current scope is bound to the new extension class.

        -
          +
          • If supplied, the value of docstring is bound to the __doc__ attribute of the extension class. @@ -561,7 +561,7 @@

            -
            +
            Requires

            init_expr is the @@ -603,7 +603,7 @@

            -
            +
            Requires

            @@ -628,10 +628,10 @@ but the first N - M arguments of each overload.

            -
            • +
              • Otherwise, a single method overload is built around fn, which must not be null: -
                  +
                  • If fn is a function pointer, its first argument must be of the form U, U cv&, U cv*, or U cv* const&, @@ -748,7 +748,7 @@
                    class_& staticmethod(char const* name);

                    -
                    +
                    Requires

                    name is an ntbs which conforms to Python's @@ -768,7 +768,7 @@

                    setattr(self, name, staticmethod(getattr(self, name)))

                    -
                    +
                    Note

                    Attempting to invoke def(name,...) after invoking staticmethod(name) @@ -785,7 +785,7 @@

                    -
                    +
                    Effects

                    Adds a Python special @@ -802,7 +802,7 @@

                    -
                    +
                    Requires

                    name is an ntbs which conforms to Python's @@ -831,7 +831,7 @@

                    -
                    +
                    Requires

                    name is an ntbs which conform to Python's @@ -864,7 +864,7 @@

                    -
                    +
                    Requires

                    name is an ntbs which conforms to Python's @@ -898,7 +898,7 @@

                    -
                    +
                    Requires

                    name is an ntbs which conforms to Python's @@ -935,7 +935,7 @@

                    -
                    +
                    Effects
                    this->add_property(name, make_getter(pm), make_setter(pm), doc);
                    @@ -964,7 +964,7 @@

                    -
                    +
                    Requires

                    PickleSuite must be publically derived from pickle_suite. @@ -991,7 +991,7 @@

                    class_& enable_pickling();

                    -
                    +
                    Effects

                    Defines the __reduce__ method and the __safe_for_unpickling__ attribute. @@ -1014,7 +1014,7 @@ Class template bases<T1, T2, ...TN>

                    -
                    Class +

                    An MPL sequence which can be used in class_<...> instantiations indicate diff --git a/libs/python/doc/html/reference/high_level_components/boost_python_def_hpp.html b/libs/python/doc/html/reference/high_level_components/boost_python_def_hpp.html index ce99e9adf6..7a5b4ba593 100644 --- a/libs/python/doc/html/reference/high_level_components/boost_python_def_hpp.html +++ b/libs/python/doc/html/reference/high_level_components/boost_python_def_hpp.html @@ -3,7 +3,7 @@ boost/python/def.hpp - + @@ -19,7 +19,7 @@

                    -
                    +
                    Introduction
                    Functions
                    Example
                    @@ -53,7 +53,7 @@

                    -
                    +
                    Requires

                    @@ -61,7 +61,7 @@ identifier naming rules.

                    -
                      +
                      • If Fn is [derived from] object, diff --git a/libs/python/doc/html/reference/high_level_components/boost_python_def_visitor_hpp.html b/libs/python/doc/html/reference/high_level_components/boost_python_def_visitor_hpp.html index 1d030d37d4..e007c7401f 100644 --- a/libs/python/doc/html/reference/high_level_components/boost_python_def_visitor_hpp.html +++ b/libs/python/doc/html/reference/high_level_components/boost_python_def_visitor_hpp.html @@ -3,7 +3,7 @@ boost/python/def_visitor.hpp - + @@ -19,7 +19,7 @@ -
                        +
                        Introduction
                        Class def_visitor
                        @@ -64,7 +64,7 @@

                        -
                        +
                        Requires

                        diff --git a/libs/python/doc/html/reference/high_level_components/boost_python_docstring_options_h.html b/libs/python/doc/html/reference/high_level_components/boost_python_docstring_options_h.html index 2d7f7d7f7f..4e3cee66a7 100644 --- a/libs/python/doc/html/reference/high_level_components/boost_python_docstring_options_h.html +++ b/libs/python/doc/html/reference/high_level_components/boost_python_docstring_options_h.html @@ -3,7 +3,7 @@ boost/python/docstring_options.hpp - + @@ -19,7 +19,7 @@

                        -
                        +
                        Introduction
                        Class docstring_options
                        @@ -85,7 +85,7 @@

                        -
                        +
                        Effects

                        Constructs a docstring_options object which controls the appearance @@ -101,7 +101,7 @@

                        -
                        +
                        Effects

                        Constructs a docstring_options @@ -120,7 +120,7 @@

                        -
                        +
                        Effects

                        Constructs a docstring_options @@ -144,7 +144,7 @@

                        ~docstring_options();

                        -
                        +
                        Effects

                        Restores the previous state of the docstring options. In particular, @@ -186,7 +186,7 @@

                        -
                        +
                        Docstring options defined at compile time
                        Selective diff --git a/libs/python/doc/html/reference/high_level_components/boost_python_enum_hpp.html b/libs/python/doc/html/reference/high_level_components/boost_python_enum_hpp.html index aad9d99289..fd16a17627 100644 --- a/libs/python/doc/html/reference/high_level_components/boost_python_enum_hpp.html +++ b/libs/python/doc/html/reference/high_level_components/boost_python_enum_hpp.html @@ -3,7 +3,7 @@ boost/python/enum.hpp - + @@ -19,7 +19,7 @@ -
                        +
                        Introduction
                        Class template enum_
                        @@ -68,7 +68,7 @@
                        enum_(char const* name, char const* doc=0);

                        -
                        +
                        Requires

                        name is an ntbs which conforms to Python's @@ -93,7 +93,7 @@

                        enum_<T>& value(char const* name, T x);

                        -
                        +
                        Requires

                        name is an ntbs which conforms to Python's @@ -114,7 +114,7 @@

                        enum_<T>& export_values();

                        -
                        +
                        Effects

                        sets attributes in the current diff --git a/libs/python/doc/html/reference/high_level_components/boost_python_errors_hpp.html b/libs/python/doc/html/reference/high_level_components/boost_python_errors_hpp.html index 837041421c..065582f853 100644 --- a/libs/python/doc/html/reference/high_level_components/boost_python_errors_hpp.html +++ b/libs/python/doc/html/reference/high_level_components/boost_python_errors_hpp.html @@ -3,7 +3,7 @@ boost/python/errors.hpp - + @@ -19,7 +19,7 @@

                        -
                        +
                        Introduction
                        Class error_already_set
                        @@ -66,7 +66,7 @@

                        -
                        +
                        Requires

                        The first form requires that the expression function0<void>(f) @@ -111,7 +111,7 @@

                        template <class T> T* expect_non_null(T* x);

                        -
                        +
                        Returns

                        x @@ -130,7 +130,7 @@

                        void throw_error_already_set();

                        -
                        +
                        Effects

                        throw error_already_set(); @@ -145,7 +145,7 @@

                        void throw_error_already_set();

                        -
                        +
                        Effects

                        throw error_already_set(); diff --git a/libs/python/doc/html/reference/high_level_components/boost_python_exception_translato.html b/libs/python/doc/html/reference/high_level_components/boost_python_exception_translato.html index d4c6991e7a..038cdc10df 100644 --- a/libs/python/doc/html/reference/high_level_components/boost_python_exception_translato.html +++ b/libs/python/doc/html/reference/high_level_components/boost_python_exception_translato.html @@ -3,7 +3,7 @@ boost/python/exception_translator.hpp - + @@ -19,7 +19,7 @@

                        -
                        +
                        Introduction
                        Function register_exception_translator
                        @@ -51,7 +51,7 @@

                        -
                        +
                        Requires

                        diff --git a/libs/python/doc/html/reference/high_level_components/boost_python_init_hpp.html b/libs/python/doc/html/reference/high_level_components/boost_python_init_hpp.html index 01a1b57f99..d34c6dddc6 100644 --- a/libs/python/doc/html/reference/high_level_components/boost_python_init_hpp.html +++ b/libs/python/doc/html/reference/high_level_components/boost_python_init_hpp.html @@ -3,7 +3,7 @@ boost/python/init.hpp - + @@ -19,7 +19,7 @@

                        -
                        +
                        Introduction
                        Class template init
                        @@ -31,7 +31,7 @@ - +

                        <boost/python/init.hpp> defines the interface for exposing C++ constructors to Python as extension class __init__ @@ -48,7 +48,7 @@

                        -
                        +
                        docstring

                        An ntbs whose value will bound to the @@ -82,7 +82,7 @@ Class template init

                        -
                        +
                        Class template init constructors
                        Class @@ -118,7 +118,7 @@

                        -
                        +
                        Requires

                        If supplied, doc is an ntbs. If supplied, @@ -155,7 +155,7 @@

                        -
                        +
                        Requires

                        Policies is a model of CallPolicies. diff --git a/libs/python/doc/html/reference/high_level_components/boost_python_iterator_hpp.html b/libs/python/doc/html/reference/high_level_components/boost_python_iterator_hpp.html index 685897213e..efa4f208ad 100644 --- a/libs/python/doc/html/reference/high_level_components/boost_python_iterator_hpp.html +++ b/libs/python/doc/html/reference/high_level_components/boost_python_iterator_hpp.html @@ -3,7 +3,7 @@ boost/python/iterator.hpp - + @@ -19,7 +19,7 @@

                        -
                        +
                        Introduction
                        Class template iterator
                        @@ -163,7 +163,7 @@
                        iterator()

                        -
                        +
                        Effects

                        @@ -281,7 +281,7 @@

                        static iterator begin(C&);

                        -
                        +
                        Returns

                        x.begin() @@ -291,7 +291,7 @@

                        static iterator end(C&);

                        -
                        +
                        Returns

                        x.end() @@ -314,7 +314,7 @@

                        -
                        +
                        Requires

                        NextPolicies is a default-constructible model of CallPolicies. diff --git a/libs/python/doc/html/reference/high_level_components/boost_python_module_hpp.html b/libs/python/doc/html/reference/high_level_components/boost_python_module_hpp.html index c5e0d72a95..a298b4b131 100644 --- a/libs/python/doc/html/reference/high_level_components/boost_python_module_hpp.html +++ b/libs/python/doc/html/reference/high_level_components/boost_python_module_hpp.html @@ -3,7 +3,7 @@ boost/python/module.hpp - + @@ -19,7 +19,7 @@

                        -
                        +
                        Introduction
                        Macros
                        Examples
                        diff --git a/libs/python/doc/html/reference/high_level_components/boost_python_operators_hpp.html b/libs/python/doc/html/reference/high_level_components/boost_python_operators_hpp.html index 6e0688e4d9..a556d8c4bf 100644 --- a/libs/python/doc/html/reference/high_level_components/boost_python_operators_hpp.html +++ b/libs/python/doc/html/reference/high_level_components/boost_python_operators_hpp.html @@ -3,7 +3,7 @@ boost/python/operators.hpp - + @@ -19,7 +19,7 @@ -
                        -
                        +
                        self_t inplace operators
                        self_t comparison functions
                        self_t non-member operations
                        diff --git a/libs/python/doc/html/reference/high_level_components/boost_python_scope_hpp.html b/libs/python/doc/html/reference/high_level_components/boost_python_scope_hpp.html index 966bfe48d8..851a868b33 100644 --- a/libs/python/doc/html/reference/high_level_components/boost_python_scope_hpp.html +++ b/libs/python/doc/html/reference/high_level_components/boost_python_scope_hpp.html @@ -3,7 +3,7 @@ boost/python/scope.hpp - + @@ -19,7 +19,7 @@ -
                        +
                        Introduction
                        Class scope
                        diff --git a/libs/python/doc/html/reference/high_level_components/boost_python_stl_iterator_hpp.html b/libs/python/doc/html/reference/high_level_components/boost_python_stl_iterator_hpp.html index 850387b1f3..a6f720d7ea 100644 --- a/libs/python/doc/html/reference/high_level_components/boost_python_stl_iterator_hpp.html +++ b/libs/python/doc/html/reference/high_level_components/boost_python_stl_iterator_hpp.html @@ -3,7 +3,7 @@ boost/python/stl_iterator.hpp - + @@ -19,7 +19,7 @@ -
                        +
                        Introduction
                        Class template stl_input_iterator
                        @@ -145,7 +145,7 @@

                        -
                        +
                        Effects

                        Creates a past-the-end input iterator, useful for signifying the @@ -164,7 +164,7 @@

                        stl_input_iterator(object const& ob)

                        -
                        +
                        Effects

                        Calls ob.attr("__iter__")() and stores the resulting Python @@ -189,7 +189,7 @@

                        -
                        +
                        Effects

                        Calls this->it.attr("next")() and stores the result @@ -209,7 +209,7 @@

                        stl_input_iterator &operator++(int)

                        -
                        +
                        Effects

                        stl_input_iterator tmp = @@ -232,7 +232,7 @@

                        -
                        +
                        Effects

                        Returns the current element in the sequence. @@ -247,7 +247,7 @@

                        -
                        +
                        Effects

                        Returns true if both iterators are dereferenceable or if both iterators @@ -263,7 +263,7 @@

                        -
                        +
                        Effects

                        Returns false if both iterators are dereferenceable or if both iterators diff --git a/libs/python/doc/html/reference/high_level_components/boost_python_wrapper_hpp.html b/libs/python/doc/html/reference/high_level_components/boost_python_wrapper_hpp.html index dac3c40bb8..1761b8173c 100644 --- a/libs/python/doc/html/reference/high_level_components/boost_python_wrapper_hpp.html +++ b/libs/python/doc/html/reference/high_level_components/boost_python_wrapper_hpp.html @@ -3,7 +3,7 @@ boost/python/wrapper.hpp - + @@ -19,7 +19,7 @@

                        -
                        +
                        Introduction
                        Class override
                        @@ -87,7 +87,7 @@

                        -
                        +
                        Effects

                        If *this holds a callable Python object, it is invoked with the specified @@ -131,7 +131,7 @@

                        override get_override(char const* name) const;

                        -
                        +
                        Requires

                        name is a ntbs. diff --git a/libs/python/doc/html/reference/index.html b/libs/python/doc/html/reference/index.html index 9dd9a84581..2b1eadd1e5 100644 --- a/libs/python/doc/html/reference/index.html +++ b/libs/python/doc/html/reference/index.html @@ -3,7 +3,7 @@ Boost.Python Reference Manual - + @@ -36,7 +36,7 @@

                        Table of Contents

                        -
                        +
                        1. Concepts
                        CallPolicies
                        @@ -630,7 +630,7 @@
                        - +

                        Last revised: December 14, 2015 at 09:15:16 GMT

                        Last revised: May 05, 2016 at 21:25:23 GMT


                        diff --git a/libs/python/doc/html/reference/object_wrappers.html b/libs/python/doc/html/reference/object_wrappers.html index 2206097b7d..d2678f3f02 100644 --- a/libs/python/doc/html/reference/object_wrappers.html +++ b/libs/python/doc/html/reference/object_wrappers.html @@ -3,7 +3,7 @@ Chapter 3. Object Wrappers - + @@ -16,11 +16,11 @@ PrevUpHomeNext
                        -

                        -Chapter 3. Object Wrappers

                        +

                        +Chapter 3. Object Wrappers

                        Table of Contents

                        -
                        +
                        boost/python/dict.hpp
                        Introduction
                        @@ -149,7 +149,7 @@ -
                        +
                        Introduction
                        Class dict
                        diff --git a/libs/python/doc/html/reference/object_wrappers/boost_python_list_hpp.html b/libs/python/doc/html/reference/object_wrappers/boost_python_list_hpp.html index 361fbbb098..0b5bcec25f 100644 --- a/libs/python/doc/html/reference/object_wrappers/boost_python_list_hpp.html +++ b/libs/python/doc/html/reference/object_wrappers/boost_python_list_hpp.html @@ -3,7 +3,7 @@ boost_python_list.hpp - + @@ -19,7 +19,7 @@ -
                        +
                        Introduction
                        Class list
                        diff --git a/libs/python/doc/html/reference/object_wrappers/boost_python_long_hpp.html b/libs/python/doc/html/reference/object_wrappers/boost_python_long_hpp.html index 3162e5b944..4c4a5002e0 100644 --- a/libs/python/doc/html/reference/object_wrappers/boost_python_long_hpp.html +++ b/libs/python/doc/html/reference/object_wrappers/boost_python_long_hpp.html @@ -3,7 +3,7 @@ boost/python/long.hpp - + @@ -19,7 +19,7 @@ -
                        +
                        Introduction
                        Class long_
                        diff --git a/libs/python/doc/html/reference/object_wrappers/boost_python_numeric_hpp.html b/libs/python/doc/html/reference/object_wrappers/boost_python_numeric_hpp.html index d45ed95d21..cd03b78a8d 100644 --- a/libs/python/doc/html/reference/object_wrappers/boost_python_numeric_hpp.html +++ b/libs/python/doc/html/reference/object_wrappers/boost_python_numeric_hpp.html @@ -3,7 +3,7 @@ boost/python/numeric.hpp - + @@ -19,7 +19,7 @@ -
                        +
                        Introduction
                        Class array
                        @@ -200,7 +200,7 @@

                        -
                        +
                        Requires

                        package_path and type_name, if supplied, is an ntbs. @@ -218,7 +218,7 @@

                        static std::string get_module_name()

                        -
                        +
                        Effects

                        Returns the name of the module containing the class that will be diff --git a/libs/python/doc/html/reference/object_wrappers/boost_python_object_hpp.html b/libs/python/doc/html/reference/object_wrappers/boost_python_object_hpp.html index 36b53ba2ff..bb22bc77c2 100644 --- a/libs/python/doc/html/reference/object_wrappers/boost_python_object_hpp.html +++ b/libs/python/doc/html/reference/object_wrappers/boost_python_object_hpp.html @@ -3,7 +3,7 @@ boost/python/object.hpp - + @@ -19,7 +19,7 @@

                        -
                        +
                        Introduction
                        Class slice_nil
                        @@ -144,7 +144,7 @@

                        -
                        +
                        Requires

                        key is an ntbs. @@ -194,7 +194,7 @@

                        -
                        +
                        Requires

                        key is an ntbs. @@ -214,7 +214,7 @@

                        -
                        +
                        Requires

                        key is an ntbs. @@ -260,7 +260,7 @@

                        -
                        +
                        Requires

                        key is an object holding a string. @@ -310,7 +310,7 @@

                        -
                        +
                        Requires

                        key is an object holding a string. @@ -330,7 +330,7 @@

                        -
                        +
                        Requires

                        key is an object holding a string. @@ -376,7 +376,7 @@

                        -
                        +
                        Effects

                        accesses the item of target specified by key. @@ -421,7 +421,7 @@

                        -
                        +
                        Effects

                        sets the item of target specified by key to value. @@ -437,7 +437,7 @@

                        -
                        +
                        Effects

                        deletes the item of target specified by key. @@ -479,7 +479,7 @@

                        -
                        +
                        Effects

                        accesses the slice of target specified by key. @@ -524,7 +524,7 @@

                        -
                        +
                        Effects

                        sets the slice of target specified by key to value. @@ -540,7 +540,7 @@

                        -
                        +
                        Effects

                        deletes the slice of target specified by key. @@ -637,7 +637,7 @@

                        -
                        +
                        Effects

                        call<object>(object(*static_cast<U*>(this)).ptr(), @@ -649,7 +649,7 @@

                        object operator()(detail::args_proxy const &args) const;

                        -
                        +
                        Effects

                        call object @@ -665,7 +665,7 @@

                        -
                        +
                        Effects

                        call object @@ -683,7 +683,7 @@

                        operator bool_type() const;

                        -
                        +
                        Effects

                        Tests truth value of *this. @@ -701,7 +701,7 @@

                        -
                        +
                        Requires

                        name is an ntbs. @@ -722,7 +722,7 @@

                        -
                        +
                        Requires

                        name is a object holding a string. @@ -745,7 +745,7 @@

                        -
                        +
                        Effects

                        accesses the item of *this indicated by key. @@ -764,7 +764,7 @@

                        -
                        +
                        Effects

                        accesses the slice of *this indicated by std::make_pair(object(start), object(finish)). @@ -817,7 +817,7 @@

                        object();

                        -
                        +
                        Effects

                        Constructs an object managing a reference to the Python None object. @@ -833,7 +833,7 @@

                        -
                        +
                        Effects

                        converts x to python and manages a reference to it. @@ -849,7 +849,7 @@

                        -
                        +
                        Effects

                        decrements the reference count of the internally-held object. @@ -865,7 +865,7 @@

                        PyObject* ptr() const;

                        -
                        +
                        Returns

                        a pointer to the internally-held Python object. @@ -875,7 +875,7 @@

                        bool is_none() const;

                        -
                        +
                        Returns

                        result of (ptr() == Py_None) @@ -937,7 +937,7 @@

                        operator object() const;

                        -
                        +
                        Effects

                        applies Policies::get(target, key) with the proxy's target and key @@ -957,7 +957,7 @@

                        -
                        +
                        Effects

                        Policies::set(target, @@ -988,7 +988,7 @@

                        -
                        +
                        Effects

                        for a given operator@=, @@ -1003,7 +1003,7 @@

                        void del() const;

                        -
                        +
                        Effects

                        Policies::del(target, key ) with the proxy's target and key objects. @@ -1020,7 +1020,7 @@

                        -
                        +
                        Effects

                        x.del() @@ -1036,7 +1036,7 @@

                        -
                        +
                        Effects

                        returns the result of applying the operator to object(l) and object(r), respectively, in Python. @@ -1056,7 +1056,7 @@

                        -
                        +
                        Effects

                        returns the result of applying the operator to object(l) and object(r), respectively, in Python. @@ -1076,7 +1076,7 @@

                        -
                        +
                        Effects

                        assigns to l the @@ -1093,7 +1093,7 @@

                        long len(object const& obj);

                        -
                        +
                        Effects

                        PyObject_Length(obj.ptr()) diff --git a/libs/python/doc/html/reference/object_wrappers/boost_python_slice_hpp.html b/libs/python/doc/html/reference/object_wrappers/boost_python_slice_hpp.html index 8527f6e2c5..4cf1c41c39 100644 --- a/libs/python/doc/html/reference/object_wrappers/boost_python_slice_hpp.html +++ b/libs/python/doc/html/reference/object_wrappers/boost_python_slice_hpp.html @@ -3,7 +3,7 @@ boost/python/slice.hpp - + @@ -19,7 +19,7 @@

                        -
                        +
                        Introduction
                        Class slice
                        @@ -94,7 +94,7 @@
                        slice();

                        -
                        +
                        Effects

                        constructs a slice with default stop, start, and step values. Equivalent @@ -111,7 +111,7 @@

                        -
                        +
                        Requires

                        start, stop, and step @@ -138,7 +138,7 @@

                        -
                        +
                        Requires

                        start, stop, and step @@ -171,7 +171,7 @@

                        -
                        +
                        Effects

                        None @@ -200,7 +200,7 @@

                        -
                        +
                        Arguments

                        A pair of STL-conforming Random Access Iterators that form a half-open diff --git a/libs/python/doc/html/reference/object_wrappers/boost_python_str_hpp.html b/libs/python/doc/html/reference/object_wrappers/boost_python_str_hpp.html index 446f76233c..7e276dc19d 100644 --- a/libs/python/doc/html/reference/object_wrappers/boost_python_str_hpp.html +++ b/libs/python/doc/html/reference/object_wrappers/boost_python_str_hpp.html @@ -3,7 +3,7 @@ boost/python/str.hpp - + @@ -19,7 +19,7 @@

                        -
                        +
                        Introduction
                        Class str
                        diff --git a/libs/python/doc/html/reference/object_wrappers/boost_python_tuple_hpp.html b/libs/python/doc/html/reference/object_wrappers/boost_python_tuple_hpp.html index 836f18da3e..af3301563c 100644 --- a/libs/python/doc/html/reference/object_wrappers/boost_python_tuple_hpp.html +++ b/libs/python/doc/html/reference/object_wrappers/boost_python_tuple_hpp.html @@ -3,7 +3,7 @@ boost/python/tuple.hpp - + @@ -19,7 +19,7 @@ -
                        +
                        Introduction
                        Class tuple
                        @@ -83,7 +83,7 @@

                        -
                        +
                        Effect

                        Constructs a new tuple object composed of object(a0), object(a0),...object(an). diff --git a/libs/python/doc/html/reference/to_from_python_type_conversion.html b/libs/python/doc/html/reference/to_from_python_type_conversion.html index 804c93c02a..ebfb7b3c13 100644 --- a/libs/python/doc/html/reference/to_from_python_type_conversion.html +++ b/libs/python/doc/html/reference/to_from_python_type_conversion.html @@ -3,7 +3,7 @@ Chapter 5. To/From Python Type Conversion - + @@ -16,11 +16,11 @@ PrevUpHomeNext

                        -

                        -Chapter 5. To/From Python Type Conversion

                        +

                        +Chapter 5. To/From Python Type Conversion

                        Table of Contents

                        -
                        +
                        boost/python/extract.hpp
                        Introduction
                        @@ -80,7 +80,7 @@ -
                        +
                        Introduction
                        Class template extract
                        @@ -160,7 +160,7 @@

                        -
                        +
                        Requires

                        The first form requires that p is non-null. @@ -186,7 +186,7 @@

                        -
                        +
                        Effects

                        Converts the stored pointer to result_type, which is either T or @@ -209,7 +209,7 @@

                        bool check() const;

                        -
                        +
                        Postconditions

                        None. In particular, note that a return value of true does not preclude diff --git a/libs/python/doc/html/reference/to_from_python_type_conversion/boost_python_implicit_hpp.html b/libs/python/doc/html/reference/to_from_python_type_conversion/boost_python_implicit_hpp.html index 3a9df09009..649cc3482b 100644 --- a/libs/python/doc/html/reference/to_from_python_type_conversion/boost_python_implicit_hpp.html +++ b/libs/python/doc/html/reference/to_from_python_type_conversion/boost_python_implicit_hpp.html @@ -3,7 +3,7 @@ boost/python/implicit.hpp - + @@ -19,7 +19,7 @@

                        -
                        +

                        -
                        +
                        Requires

                        The declaration Target diff --git a/libs/python/doc/html/reference/to_from_python_type_conversion/boost_python_lvalue_from_pytype_.html b/libs/python/doc/html/reference/to_from_python_type_conversion/boost_python_lvalue_from_pytype_.html index 1f24eb740c..5a1ef55ff4 100644 --- a/libs/python/doc/html/reference/to_from_python_type_conversion/boost_python_lvalue_from_pytype_.html +++ b/libs/python/doc/html/reference/to_from_python_type_conversion/boost_python_lvalue_from_pytype_.html @@ -3,7 +3,7 @@ boost/python/lvalue_from_pytype.hpp - + @@ -19,7 +19,7 @@

                        -
                        -
                        Class +

                        @@ -135,7 +135,7 @@

                        lvalue_from_pytype();

                        -
                        +
                        Effects

                        Registers converters which can convert Python objects of the given @@ -150,7 +150,7 @@ Class template extract_identity

                        -
                        Class +

                        @@ -176,7 +176,7 @@

                        InstanceType& execute(InstanceType& c);

                        -
                        +
                        Returns

                        c @@ -190,7 +190,7 @@ Class template extract_member

                        -
                        Class +

                        @@ -217,7 +217,7 @@

                        static MemberType& execute(InstanceType& c);

                        -
                        +
                        Returns

                        c.*member diff --git a/libs/python/doc/html/reference/to_from_python_type_conversion/boost_python_opaque_pointer_conv.html b/libs/python/doc/html/reference/to_from_python_type_conversion/boost_python_opaque_pointer_conv.html index 25b5ac8b9d..1225e1e9ee 100644 --- a/libs/python/doc/html/reference/to_from_python_type_conversion/boost_python_opaque_pointer_conv.html +++ b/libs/python/doc/html/reference/to_from_python_type_conversion/boost_python_opaque_pointer_conv.html @@ -3,7 +3,7 @@ boost/python/opaque_pointer_converter.hpp - + @@ -19,7 +19,7 @@

                        -
                        +
                        Introduction
                        Class template opaque constructor
                        @@ -53,9 +53,9 @@
                        opaque();

                        -
                        +
                        Effects
                        -
                          +
                          • Registers the instance as a lvalue_from_pytype converter from Python objects into opaque pointers. The Python Objects diff --git a/libs/python/doc/html/reference/to_from_python_type_conversion/boost_python_register_ptr_to_pyt.html b/libs/python/doc/html/reference/to_from_python_type_conversion/boost_python_register_ptr_to_pyt.html index 543c210776..7d22b928a5 100644 --- a/libs/python/doc/html/reference/to_from_python_type_conversion/boost_python_register_ptr_to_pyt.html +++ b/libs/python/doc/html/reference/to_from_python_type_conversion/boost_python_register_ptr_to_pyt.html @@ -3,7 +3,7 @@ boost/python/register_ptr_to_python.hpp - + @@ -19,7 +19,7 @@ -
                            +
                            Introduction
                            Function register_ptr_to_python
                            @@ -58,7 +58,7 @@

                            -
                            +
                            Requires

                            P is Dereferenceable. diff --git a/libs/python/doc/html/reference/to_from_python_type_conversion/boost_python_to_python_converter.html b/libs/python/doc/html/reference/to_from_python_type_conversion/boost_python_to_python_converter.html index 2f17f9df21..4132e379f1 100644 --- a/libs/python/doc/html/reference/to_from_python_type_conversion/boost_python_to_python_converter.html +++ b/libs/python/doc/html/reference/to_from_python_type_conversion/boost_python_to_python_converter.html @@ -3,7 +3,7 @@ boost/python/to_python_converter.hpp - + @@ -19,7 +19,7 @@

                            -
                            -
                            Class +

                            @@ -159,7 +159,7 @@

                            to_python_converter();

                            -
                            +
                            Effects

                            Registers a to_python diff --git a/libs/python/doc/html/reference/topics.html b/libs/python/doc/html/reference/topics.html index 4d2007e3e7..3d19f90db8 100644 --- a/libs/python/doc/html/reference/topics.html +++ b/libs/python/doc/html/reference/topics.html @@ -3,7 +3,7 @@ Chapter 8. Topics - + @@ -16,11 +16,11 @@ PrevUpHomeNext

                            -

                            -Chapter 8. Topics

                            +

                            +Chapter 8. Topics

                            -
                            +
                            Introduction
                            Argument Handling
                            diff --git a/libs/python/doc/html/reference/topics/indexing_support.html b/libs/python/doc/html/reference/topics/indexing_support.html index c9eedf66e0..2738bb043d 100644 --- a/libs/python/doc/html/reference/topics/indexing_support.html +++ b/libs/python/doc/html/reference/topics/indexing_support.html @@ -3,7 +3,7 @@ Indexing support - + @@ -19,7 +19,7 @@ -
                            +
                            Introduction
                            The Indexing Interface
                            @@ -57,7 +57,7 @@

                            The goals:

                            -
                              +
                              • Make indexable C++ containers behave exactly as one would expect a Python container to behave. @@ -112,7 +112,7 @@

                                -
                                +
                                __len__(self)

                                Called to implement the built-in function len(). Should return the length of the @@ -182,7 +182,7 @@ index_suite sub-classes

                            -
                            + @@ -254,7 +254,7 @@ - +
                            diff --git a/libs/python/doc/html/reference/topics/pickle_support.html b/libs/python/doc/html/reference/topics/pickle_support.html index e23ed383e1..d2d6befd59 100644 --- a/libs/python/doc/html/reference/topics/pickle_support.html +++ b/libs/python/doc/html/reference/topics/pickle_support.html @@ -3,7 +3,7 @@ Pickle support - + @@ -19,7 +19,7 @@ -
                            +
                            Introduction
                            The Pickle Interface
                            @@ -67,7 +67,7 @@

                            -
                            +
                            __getinitargs__

                            @@ -119,7 +119,7 @@

                            -
                            +
                            pickle1.cpp
                            pickle2.cpp
                            pickle3.cpp
                            @@ -285,7 +285,7 @@ -
                            - +

                            Last revised: December 14, 2015 at 09:15:13 GMT

                            Last revised: May 05, 2016 at 21:25:21 GMT


                            diff --git a/libs/python/doc/html/tutorial/tutorial/embedding.html b/libs/python/doc/html/tutorial/tutorial/embedding.html index 3e9816ecdb..dc5d2218ad 100644 --- a/libs/python/doc/html/tutorial/tutorial/embedding.html +++ b/libs/python/doc/html/tutorial/tutorial/embedding.html @@ -3,7 +3,7 @@ Embedding - + @@ -19,7 +19,7 @@ - +

                            By now you should know how to use Boost.Python to call your C++ code from Python. However, sometimes you may need to do the reverse: call Python code from the @@ -35,7 +35,7 @@

                            - Building + Building embedded programs

                            @@ -78,7 +78,7 @@ exe embedded_program # name of the executable

                            - Getting + Getting started

                            @@ -124,13 +124,13 @@ exe embedded_program # name of the executable There is a difference however. While the reference-counting is fully automatic in Python, the Python C API requires you to do it by hand. This is messy and especially hard to get right in the presence - of C++ exceptions. Fortunately Boost.Python provides the handle - and object class templates to - automate the process. + of C++ exceptions. Fortunately Boost.Python provides the handle + and object + class templates to automate the process.

                            - Running + Running Python code

                            @@ -178,14 +178,14 @@ exe embedded_program # name of the executable

                            - Manipulating + Manipulating Python objects

                            Often we'd like to have a class to manipulate Python objects. But we have - already seen such a class above, and in the previous - section: the aptly named object class and its - derivatives. We've already seen that they can be constructed from a handle. + already seen such a class above, and in the previous + section: the aptly named object class and its derivatives. + We've already seen that they can be constructed from a handle. The following examples should further illustrate this fact:

                            object main_module = import("__main__");
                            @@ -204,11 +204,11 @@ exe embedded_program # name of the executable
                             

                            - Exception + Exception handling

                            - If an exception occurs in the evaluation of the python expression, error_already_set + If an exception occurs in the evaluation of the python expression, error_already_set is thrown:

                            try
                            diff --git a/libs/python/doc/html/tutorial/tutorial/exception.html b/libs/python/doc/html/tutorial/tutorial/exception.html
                            index 52cc636018..44437434dd 100644
                            --- a/libs/python/doc/html/tutorial/tutorial/exception.html
                            +++ b/libs/python/doc/html/tutorial/tutorial/exception.html
                            @@ -3,7 +3,7 @@
                             
                             Exception Translation
                             
                            -
                            +
                             
                             
                             
                            diff --git a/libs/python/doc/html/tutorial/tutorial/exposing.html b/libs/python/doc/html/tutorial/tutorial/exposing.html
                            index 75692ea455..f870c67ac3 100644
                            --- a/libs/python/doc/html/tutorial/tutorial/exposing.html
                            +++ b/libs/python/doc/html/tutorial/tutorial/exposing.html
                            @@ -3,7 +3,7 @@
                             
                             Exposing Classes
                             
                            -
                            +
                             
                             
                             
                            @@ -19,7 +19,7 @@
                             
                            -
                            +
                            Constructors
                            Class Data Members
                            Class Properties
                            @@ -296,7 +296,7 @@ return_value_policy<manage_new_object> to instruct Python to adopt the pointer to Base and hold the instance in a new Python Base object until the the Python object - is destroyed. We will see more of Boost.Python call + is destroyed. We will see more of Boost.Python call policies later.

                            // Tell Python to take ownership of factory's result
                            @@ -342,7 +342,7 @@
                             

                            Notice too that in addition to inheriting from Base, - we also multiply- inherited wrapper<Base> (See Wrapper). + we also multiply- inherited wrapper<Base> (See Wrapper). The wrapper template makes the job of wrapping classes that are meant to overridden in Python, easier.

                            @@ -398,12 +398,12 @@

                            We've seen in the previous section how classes with pure virtual functions - are wrapped using Boost.Python's class + are wrapped using Boost.Python's class wrapper facilities. If we wish to wrap non-pure-virtual functions instead, the mechanism is a bit different.

                            - Recall that in the previous + Recall that in the previous section, we wrapped a class with a pure virtual function that we then implemented in C++, or Python classes derived from it. Our base class:

                            @@ -499,7 +499,7 @@

                            - Python + Python Operators

                            @@ -545,7 +545,7 @@

                            - Special + Special Methods

                            diff --git a/libs/python/doc/html/tutorial/tutorial/functions.html b/libs/python/doc/html/tutorial/tutorial/functions.html index a0dac106c3..67238ebb21 100644 --- a/libs/python/doc/html/tutorial/tutorial/functions.html +++ b/libs/python/doc/html/tutorial/tutorial/functions.html @@ -3,7 +3,7 @@ Functions - + @@ -19,7 +19,7 @@

                            -
                            +
                            Call Policies
                            Overloading
                            Default Arguments
                            @@ -196,7 +196,7 @@ Namespaces are one honking great idea -- let's do more of those!

                            - Call + Call Policies

                            @@ -239,9 +239,9 @@ Namespaces are one honking great idea -- let's do more of those!

                            Here is the list of predefined call policies. A complete reference detailing - these can be found here. + these can be found here.

                            -
                              +
                              • with_custodian_and_ward: Ties lifetimes of the arguments @@ -256,7 +256,7 @@ Namespaces are one honking great idea -- let's do more of those!
                              • return_value_policy<T> with T one of: -
                                  +
                                  • reference_existing_object: naive (dangerous) approach @@ -367,8 +367,8 @@ Namespaces are one honking great idea -- let's do more of those!

                                    Because of this, when wrapping C++ code, we had to resort to manual wrapping - as outlined in the previous section, - or writing thin wrappers: + as outlined in the previous + section, or writing thin wrappers:

                                    // write "thin wrappers"
                                     int f1(int x) { return f(x); }
                                    @@ -384,7 +384,7 @@ Namespaces are one honking great idea -- let's do more of those!
                                     

                                    When you want to wrap functions (or member functions) that either:

                                    -
                                      +
                                      • have default arguments, or
                                      • @@ -394,7 +394,7 @@ Namespaces are one honking great idea -- let's do more of those!

                                      - BOOST_PYTHON_FUNCTION_OVERLOADS + BOOST_PYTHON_FUNCTION_OVERLOADS

                                      Boost.Python now has a way to make it easier. For instance, given a function: @@ -421,7 +421,7 @@ Namespaces are one honking great idea -- let's do more of those!

                                    - BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS + BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS

                                    Objects here, objects there, objects here there everywhere. More frequently @@ -459,12 +459,12 @@ Namespaces are one honking great idea -- let's do more of those!

                                    .def("wack_em", &george::wack_em, george_overloads());
                                     

                                    - See the overloads + See the overloads reference for details.

                                    - init and + init and optional

                                    @@ -535,20 +535,20 @@ Namespaces are one honking great idea -- let's do more of those!

                                    - Manual + Manual Wrapping

                                    It is important to emphasize however that the overloaded functions must have a common sequence of initial arguments. Otherwise, our scheme above will not work. If this is not the case, we have to wrap - our functions manually. + our functions manually.

                                    Actually, we can mix and match manual wrapping of overloaded functions and automatic wrapping through BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS and its sister, BOOST_PYTHON_FUNCTION_OVERLOADS. Following - up on our example presented in the section on + up on our example presented in the section on overloading, since the first 4 overload functins have a common sequence of initial arguments, we can use BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS to automatically wrap the first three of the defs and diff --git a/libs/python/doc/html/tutorial/tutorial/hello.html b/libs/python/doc/html/tutorial/tutorial/hello.html index 48182e1e70..74e55b27f8 100644 --- a/libs/python/doc/html/tutorial/tutorial/hello.html +++ b/libs/python/doc/html/tutorial/tutorial/hello.html @@ -3,7 +3,7 @@ Building Hello World - + @@ -21,7 +21,7 @@

                              - From + From Start To Finish

                              @@ -63,7 +63,7 @@ The tutorial example can be found in the directory: libs/python/example/tutorial. There, you can find:

                              -
                                +
                                • hello.cpp
                                • @@ -88,7 +88,7 @@

                                  - Let's + Let's Jam!

                                  @@ -105,7 +105,7 @@

                                  - Running + Running bjam

                                  diff --git a/libs/python/doc/html/tutorial/tutorial/iterators.html b/libs/python/doc/html/tutorial/tutorial/iterators.html index b3165a351b..24c8c0773f 100644 --- a/libs/python/doc/html/tutorial/tutorial/iterators.html +++ b/libs/python/doc/html/tutorial/tutorial/iterators.html @@ -3,7 +3,7 @@ Iterators - + @@ -26,7 +26,7 @@

                                  C++ iterators:

                                  -
                                    +
                                    • C++ has 5 type categories (random-access, bidirectional, forward, input, output) @@ -41,7 +41,7 @@

                                      Python Iterators:

                                      -
                                        +
                                        • 1 category (forward)
                                        • @@ -83,7 +83,7 @@

                                          We can create a Python savvy iterator using the range function:

                                          -
                                            +
                                            • range(start, finish)
                                            • @@ -94,7 +94,7 @@

                                              Here, start/finish may be one of:

                                              -
                                                +
                                                • member data pointers
                                                • @@ -108,7 +108,7 @@

                                                  iterator

                                                  -
                                                  • +
                                                    • iterator<T, Policies>()

                                                    diff --git a/libs/python/doc/html/tutorial/tutorial/object.html b/libs/python/doc/html/tutorial/tutorial/object.html index c9f4f1f58e..80e8ecb38e 100644 --- a/libs/python/doc/html/tutorial/tutorial/object.html +++ b/libs/python/doc/html/tutorial/tutorial/object.html @@ -3,7 +3,7 @@ Object Interface - + @@ -19,7 +19,7 @@

                                                    -
                                                    +
                                                    Basic Interface
                                                    Derived Object types
                                                    @@ -97,7 +97,7 @@ Boost.Python comes with a set of derived object types corresponding to that of Python's:

                                                    -
                                                      +
                                                      • list
                                                      • @@ -188,7 +188,7 @@

                                                        - class_<T> + class_<T> as objects

                                                        @@ -295,7 +295,7 @@

                                                        The scope is a class that has an associated global Python object which controls the Python namespace in which new extension classes and wrapped - functions will be defined as attributes. Details can be found here. + functions will be defined as attributes. Details can be found here.

                                                      diff --git a/libs/python/doc/html/tutorial/tutorial/techniques.html b/libs/python/doc/html/tutorial/tutorial/techniques.html index 7ba213f130..c71b79476a 100644 --- a/libs/python/doc/html/tutorial/tutorial/techniques.html +++ b/libs/python/doc/html/tutorial/tutorial/techniques.html @@ -3,7 +3,7 @@ General Techniques - + @@ -18,7 +18,7 @@ -
                                                      +
                                                      Creating Packages
                                                      Extending Wrapped Objects in Python
                                                      @@ -257,7 +257,7 @@ }

                                                      - If we are using the technique from the previous session, Creating + If we are using the technique from the previous session, Creating Packages, we can code directly into geom/__init__.py:

                                                      from _geom import *
                                                      @@ -273,7 +273,7 @@
                                                               All point instances created from C++ will
                                                               also have this member function! This technique has several advantages:
                                                             

                                                      -
                                                        +
                                                        • Cut down compile times to zero for these additional functions
                                                        • @@ -404,21 +404,10 @@ [Note] Note -

                                                          - If you're exporting your classes with Pyste, - take a look at the --multiple option, that generates - the wrappers in various files as demonstrated here. -

                                                          -
                                                        -
                                                        - - - -
                                                        [Note]Note

                                                        This method is useful too if you are getting the error message "fatal error C1204:Compiler limit:internal structure overflow" - when compiling a large source file, as explained in the FAQ. + when compiling a large source file, as explained in the FAQ.

                                                      diff --git a/libs/python/doc/tutorial.qbk b/libs/python/doc/tutorial.qbk index b75cba97ea..3992a50e01 100644 --- a/libs/python/doc/tutorial.qbk +++ b/libs/python/doc/tutorial.qbk @@ -424,7 +424,7 @@ instances of class [^Derived]. In such cases, we use [^return_value_policy] to instruct Python to adopt the pointer to [^Base] and hold the instance in a new Python [^Base] object until the the Python object is destroyed. We will see more of -Boost.Python [link python.call_policies call policies] later. +Boost.Python [link tutorial.functions.call_policies call policies] later. // Tell Python to take ownership of factory's result def("factory", factory, @@ -462,7 +462,7 @@ functions so that a Python override may be called: }; Notice too that in addition to inheriting from `Base`, we also multiply- -inherited `wrapper` (See [@../../../v2/wrapper.html Wrapper]). The +inherited `wrapper` (See [@../reference/high_level_components/boost_python_wrapper_hpp.html#high_level_components.boost_python_wrapper_hpp.class_template_wrapper Wrapper]). The `wrapper` template makes the job of wrapping classes that are meant to overridden in Python, easier. @@ -494,11 +494,11 @@ Methods correspond roughly to C++'s [*member functions]] [section Virtual Functions with Default Implementations] We've seen in the previous section how classes with pure virtual functions are -wrapped using Boost.Python's [@../../../v2/wrapper.html class wrapper] +wrapped using Boost.Python's [@../reference/high_level_components/boost_python_wrapper_hpp.html#high_level_components.boost_python_wrapper_hpp.class_template_wrapper class wrapper] facilities. If we wish to wrap [*non]-pure-virtual functions instead, the mechanism is a bit different. -Recall that in the [link python.class_virtual_functions previous section], we +Recall that in the [link tutorial.exposing.class_virtual_functions previous section], we wrapped a class with a pure virtual function that we then implemented in C++, or Python classes derived from it. Our base class: @@ -811,7 +811,7 @@ or more policies can be composed by chaining. Here's the general syntax: policy3 > > Here is the list of predefined call policies. A complete reference detailing -these can be found [@../../../v2/reference.html#models_of_call_policies here]. +these can be found [@../reference/function_invocation_and_creation/models_of_callpolicies.html here]. * [*with_custodian_and_ward]: Ties lifetimes of the arguments * [*with_custodian_and_ward_postcall]: Ties lifetimes of the arguments and results @@ -896,7 +896,7 @@ to retrieve the default arguments: def("f", f); // defaults lost! Because of this, when wrapping C++ code, we had to resort to manual -wrapping as outlined in the [link python.overloading previous section], or +wrapping as outlined in the [link tutorial.functions.overloading previous section], or writing thin wrappers: // write "thin wrappers" @@ -969,7 +969,7 @@ fourth macro argument). The thin wrappers are all enclosed in a class named .def("wack_em", &george::wack_em, george_overloads()); -See the [@../../../v2/overloads.html#BOOST_PYTHON_FUNCTION_OVERLOADS-spec overloads reference] +See the [@../reference/function_invocation_and_creation/boost_python_overloads_hpp.html#function_invocation_and_creation.boost_python_overloads_hpp.macros overloads reference] for details. [h2 init and optional] @@ -1036,12 +1036,12 @@ Notice though that we have a situation now where we have a minimum of zero It is important to emphasize however that [*the overloaded functions must have a common sequence of initial arguments]. Otherwise, our scheme above will not work. If this is not the case, we have to wrap our functions -[link python.overloading manually]. +[link tutorial.functions.overloading manually]. Actually, we can mix and match manual wrapping of overloaded functions and automatic wrapping through [^BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS] and its sister, [^BOOST_PYTHON_FUNCTION_OVERLOADS]. Following up on our example -presented in the section [link python.overloading on overloading], since the +presented in the section [link tutorial.functions.overloading on overloading], since the first 4 overload functins have a common sequence of initial arguments, we can use [^BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS] to automatically wrap the first three of the [^def]s and manually wrap just the last. Here's @@ -1266,7 +1266,7 @@ associated with the C++ type passed as its first parameter. The scope is a class that has an associated global Python object which controls the Python namespace in which new extension classes and wrapped functions will be defined as attributes. Details can be found -[@../../../v2/scope.html here].] +[@../reference/high_level_components/boost_python_scope_hpp.html#high_level_components.boost_python_scope_hpp.class_scope here].] You can access those values in Python as @@ -1402,8 +1402,8 @@ There is a difference however. While the reference-counting is fully automatic in Python, the Python C API requires you to do it [@http://www.python.org/doc/current/c-api/refcounting.html by hand]. This is messy and especially hard to get right in the presence of C++ exceptions. -Fortunately Boost.Python provides the [@../../../v2/handle.html handle] and -[@../../../v2/object.html object] class templates to automate the process. +Fortunately Boost.Python provides the [@../reference/utility_and_infrastructure/boost_python_handle_hpp.html#utility_and_infrastructure.boost_python_handle_hpp.class_template_handle handle] and +[@../reference/object_wrappers/boost_python_object_hpp.html#object_wrappers.boost_python_object_hpp.class_object object] class templates to automate the process. [h2 Running Python code] @@ -1446,7 +1446,7 @@ containing a phrase that is well-known in programming circles. Often we'd like to have a class to manipulate Python objects. But we have already seen such a class above, and in the -[@python/object.html previous section]: the aptly named [^object] class +[link tutorial.object previous section]: the aptly named [^object] class and its derivatives. We've already seen that they can be constructed from a [^handle]. The following examples should further illustrate this fact: @@ -1466,7 +1466,7 @@ which returns the result directly: [h2 Exception handling] If an exception occurs in the evaluation of the python expression, -[@../../../v2/errors.html#error_already_set-spec error_already_set] is thrown: +[@../reference/high_level_components/boost_python_errors_hpp.html#high_level_components.boost_python_errors_hpp.class_error_already_set error_already_set] is thrown: try { @@ -1847,7 +1847,7 @@ we have a class [^point] in C++: } If we are using the technique from the previous session, -[link python.creating_packages Creating Packages], we can code directly +[link tutorial.techniques.creating_packages Creating Packages], we can code directly into [^geom/\_\_init\_\_.py]: [python] @@ -1970,13 +1970,9 @@ This method is recommended too if you are developing the C++ library and exporting it to Python at the same time: changes in a class will only demand the compilation of a single cpp, instead of the entire wrapper code. -[note If you're exporting your classes with [@../../../../pyste/index.html Pyste], -take a look at the [^--multiple] option, that generates the wrappers in -various files as demonstrated here.] - [note This method is useful too if you are getting the error message ['"fatal error C1204:Compiler limit:internal structure overflow"] when compiling -a large source file, as explained in the [@../../../v2/faq.html#c1204 FAQ].] +a large source file, as explained in the [@../faq/fatal_error_c1204_compiler_limit.html FAQ].] [endsect] [endsect] [/ General Techniques] -- cgit v1.2.3