Skip to content

Commit 4250893

Browse files
committed
doc updates,
arbitrary arity constructors [SVN r13511]
1 parent 0c1e2a7 commit 4250893

File tree

6 files changed

+203
-76
lines changed

6 files changed

+203
-76
lines changed

doc/v2/call.html

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ <h2 align="center">Header &lt;call.hpp&gt;</h2>
2121
<h2>Contents</h2>
2222
<dl class="page-index">
2323
<dt><a href="#introduction">Introduction</a></dt>
24-
2524
<dt><a href="#functions">Functions</a></dt>
2625
<dl class="page-index">
2726
<dt><a href="#call-spec">call</a></dt>
@@ -32,11 +31,15 @@ <h2>Contents</h2>
3231
</dl>
3332
<hr>
3433
<h2><a name="introduction"></a>Introduction</h2>
35-
<p>{{Introductory text}}</p>
34+
<p>
35+
<code>&lt;boost/python/call.hpp&gt;</code> defines the <a
36+
href="#call-spec"><code>call</code></a> family of overloaded function
37+
templates, used to invoke Python callable objects from C++.
3638

3739
<h2><a name="functions"></a>Functions</h2>
3840
<pre>
39-
<a name="call-spec"></a>call
41+
<a name="call-spec">template &lt;class R, class A1, class A2, ... class A<i>n</i>&gt;</a>
42+
<i>result-type</i> call(PyObject* callable, A1 const&amp;, A2 const&amp;, ... A<i>n</i> const&amp;)
4043
</pre>
4144
<dl class="function-semantics">
4245
<dt><b>Requires:</b> {{text}}</dt>

doc/v2/make_function.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ <h2><a name="introduction"></a>Introduction</h2>
5151
<h2><a name="functions"></a>Functions</h2>
5252
<pre>
5353
<a name="make_function-spec">template &lt;class F&gt;</a>
54-
objects::function* make_function(F f)&lt;/a&gt;
54+
objects::function* make_function(F f)
5555

5656
template &lt;class F, class Policies&gt;
5757
objects::function* make_function(F f, Policies const&amp; policies)

0 commit comments

Comments
 (0)