diff --git a/doc/v2/class.html b/doc/v2/class.html
index d2e2d032..768a1444 100644
--- a/doc/v2/class.html
+++ b/doc/v2/class.html
@@ -64,41 +64,6 @@
bases synopsis
-
-
initinit synopsisinit
- constructorsoptionaloptional synopsisinit_with_call_policiesinit_with_call_policies synopsisHeldType instance, as shown in this example. This argument is not
included in the init-expression passed to def(init_expr), below, nor is
- it passed explicitly by users when Python instances of T
- are created. This idiom allows C++ virtual functions which will be
- overridden in Python to access the Python object so the Python method
- can be invoked. Boost.Python automatically registers additional
- converters which allow wrapped instances of T to be passed
- to wrapped C++ functions expecting HeldType
+ "init.html#init-expressions">init-expression passed to def(init_expr), below,
+ nor is it passed explicitly by users when Python instances of
+ T are created. This idiom allows C++ virtual functions
+ which will be overridden in Python to access the Python object so the
+ Python method can be invoked. Boost.Python automatically registers
+ additional converters which allow wrapped instances of T
+ to be passed to wrapped C++ functions expecting HeldType
arguments.
init_spec is
supplied, it must be either the special enumeration constant
no_init or an init-expression compatible with
+ "init.html#init-expression">init-expression compatible with
T.
class_ object holding a
@@ -370,10 +335,10 @@ class_& def(Init init_expr);
init_expr is the result of an init-expression compatible with
+ href="init.html#init-expression">init-expression compatible with
T.Init, adds an
__init__(...) function overload to the
extension class accepting P as arguments. Each overload
@@ -414,9 +379,9 @@ class_& def(char const* name, Fn fn, A1 const& a1, A2 const& a2, A3
a1 is the result of an overload-dispatch-expression,
- only the second is allowed and fn must be a pointer to
- function or pointer to member function whose signature is
- compatible with A1.
+ only the second is allowed and fn must be a pointer to function
+ or pointer to member function whose signature is compatible with
+ A1.
init<T1 =
- unspecified, T2 =
- unspecified,...Tn =
- unspecified>A MPL sequence which
- can be used to specify a family of one or more __init__
- functions. Only the last Ti supplied
- may be an instantiation of optional<...>.
init
- synopsis
-namespace boost { namespace python
-{
- template <T1 = unspecified,...Tn = unspecified>
- struct init
- {
- init(char const* doc = 0);
- template <class Keywords> init(Keywords const& kw, char const* doc = 0);
- template <class Keywords> init(char const* doc, Keywords const& kw);
-
- template <class CallPolicies>
- unspecified operator[](CallPolicies const& policies) const
- };
-}}
-
-
- init
- constructors-init(char const* doc = 0); -template <class Keywords> init(Keywords const& kw, char const* doc = 0); -template <class Keywords> init(char const* doc, Keywords const& kw); -- -
doc is an ntbs. If supplied, kw is the
- result of a doc and whose keywords are
- a reference to kw. If the first form is used, the
- resulting expression's keywords are empty. The expression's
- call policies are an instance of default_call_policies.
- If Tn is optional<U1, U2,...
- Um>, the
- expression's valid prefixes are given by:- (- Otherwise, the expression has one valid prefix given by the - the template arguments the user specified. -T1, T2,...Tn-1), - (T1, T2,...Tn-1 -, U1), - (T1, T2,...Tn-1 -, U1, U2), - ...(T1, T2,...Tn-1 -, U1, U2,...Um). -
init
- observer functions-template <class Policies> -unspecified operator[](Policies const& policies) const -- -
init object except that its
- call policies are replaced by a reference to
- policies.__init__ methods to
- be generated for an extension class:
-
- -- --
-- docstring: An ntbs - whose value will bound to the method's
- -__doc__- attribute- keywords: A keyword-expression which will be - used to name (a trailing subsequence of) the arguments to the - generated
- -__init__function(s).- call policies: An instance of a model of CallPolicies.
- -- argument types: An MPL sequence of C++ argument types - which will be used to construct the wrapped C++ object. An init - expression has one or more valid prefixes which are given by a - sequence of prefixes of its argument types.
-
optional<T1
- = unspecified, T2 =
- unspecified,...Tn =
- unspecified>A MPL sequence which
- can be used to specify the optional arguments to an __init__
- function.
optional synopsis
-namespace boost { namespace python
-{
- template <T1 = unspecified,...Tn = unspecified>
- struct optional {};
-}}
-
-
bases<T1, T2,...TN>