diff --git a/doc/v2/has_back_reference.html b/doc/v2/has_back_reference.html index ab92e353..58932644 100644 --- a/doc/v2/has_back_reference.html +++ b/doc/v2/has_back_reference.html @@ -63,7 +63,7 @@
<boost/python/has_back_reference.hpp> defines the
- traits class template has_back_reference<>, which can
+ predicate metafunction has_back_reference<>, which can
be specialized by the user to indicate that a wrapped class instance
holds a PyObject* corresponding to a Python object.
A "traits - class" which is inspected by Boost.Python to determine how wrapped - classes can be constructed.
+A " + metafunction" which is inspected by Boost.Python to determine how + wrapped classes can be constructed.
value is an integral constant convertible to bool of
- unspecified type.type::value is an integral constant convertible to bool
+ of unspecified type.true for value iff for each invocation of
- class_<WrappedClass>::def(init<type-sequence...
- >()), there exists a corresponding constructor
- WrappedClass::WrappedClass(PyObject*, type-sequence...
- ). If such a specialization exists, the
- WrappedClass constructors will be called with a "back
+ value convertible to
+ true for type iff for each invocation of
+ class_<WrappedClass>::def(init<
+ type-sequence...>()) and the implicitly provided
+ copy constructor (unless it is
+ noncopyable), there exists a corresponding constructor
+ WrappedClass::WrappedClass(PyObject*,
+ type-sequence...). If such a specialization exists,
+ the WrappedClass constructors will be called with a "back
reference" pointer to the corresponding Python object whenever they are
- invoked from Python.mpl::true_, or to
+ typedef mpl::true_ type. Alternatively, the specialization
+ may provide its own metafunction.
+