72 lines
2.4 KiB
HTML
Executable File
72 lines
2.4 KiB
HTML
Executable File
<html>
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
|
<link rel="stylesheet" type="text/css" href=../../../../boost.css>
|
|
<title>Boost.Python - Holder Concept</title>
|
|
</head>
|
|
<body link="#0000ff" vlink="#800080">
|
|
<table border="0" cellpadding="7" cellspacing="0" width="100%" summary=
|
|
"header">
|
|
<tr>
|
|
<td valign="top" width="300">
|
|
<h3><a href="../../../../index.htm"><img height="86" width="277" alt="C++ Boost" src="../../../../boost.png" border="0"></a></h3>
|
|
</td>
|
|
<td valign="top">
|
|
<h1 align="center"><a href="../index.html">Boost.Python</a></h1>
|
|
<h2 align="center">HolderGenerator Concept</h2>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<hr>
|
|
<dl class="page-index">
|
|
<dt><a href="#introduction">Introduction</a></dt>
|
|
<dt><a href="#concept-requirements">Concept Requirements</a></dt>
|
|
<dl class="page-index">
|
|
<dt><a href="#HolderGenerator-concept">HolderGenerator Concept</a></dt>
|
|
</dl>
|
|
</dl>
|
|
|
|
<h2><a name="introduction"></a>Introduction</h2>
|
|
|
|
<p>A HolderGenerator is a unary metafunction class which returns types
|
|
suitable for holding instances of its argument in a wrapped C++ class
|
|
instance.
|
|
|
|
<h2><a name="concept-requirements"></a>Concept Requirements</h2>
|
|
<h3><a name="HolderGenerator-concept"></a>HolderGenerator Concept</h3>
|
|
|
|
<p>In the table below, <code><b>G</b></code> denotes an type which
|
|
models HolderGenerator, and <code><b>X</b></code> denotes a class
|
|
type.
|
|
|
|
<table summary="Holder expressions" border="1" cellpadding="5">
|
|
|
|
<tr>
|
|
<td><b>Expression</b></td>
|
|
<td><b>Requirements</b></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td valign="top"><code>G::apply<X>::type</code></td>
|
|
<td>A concrete subclass of <a
|
|
href="instance_holder.html#instance_holder-spec">instance_holder</a>
|
|
which can hold objects of type <code>X</code>.
|
|
</tr>
|
|
</table>
|
|
|
|
<hr>
|
|
<p>Revised
|
|
<!--webbot bot="Timestamp" S-Type="EDITED" S-Format="%d %B, %Y" startspan -->
|
|
13 November, 2002
|
|
<!--webbot bot="Timestamp" endspan i-checksum="39359" -->
|
|
</p>
|
|
<p><i>© Copyright <a href="../../../../people/dave_abrahams.htm">Dave
|
|
Abrahams</a> 2002. All Rights Reserved.</i>
|
|
|
|
<p>Permission to copy, use, modify, sell
|
|
and distribute this software is granted provided this copyright notice appears
|
|
in all copies. This software is provided "as is" without express or implied
|
|
warranty, and with no claim as to its suitability for any purpose.
|
|
</body>
|
|
</html>
|