• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<html>
2<head>
3<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
4<title>HolderGenerator</title>
5<link rel="stylesheet" href="../../boostbook.css" type="text/css">
6<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
7<link rel="home" href="../index.html" title="Boost.Python Reference Manual">
8<link rel="up" href="../concepts.html" title="Chapter 1. Concepts">
9<link rel="prev" href="extractor.html" title="Extractor">
10<link rel="next" href="resultconverter.html" title="ResultConverter">
11</head>
12<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
13<table cellpadding="2" width="100%"><tr><td valign="top"><img alt="" width="" height="" src="../../images/boost.png"></td></tr></table>
14<hr>
15<div class="spirit-nav">
16<a accesskey="p" href="extractor.html"><img src="../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../concepts.html"><img src="../../images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../images/home.png" alt="Home"></a><a accesskey="n" href="resultconverter.html"><img src="../../images/next.png" alt="Next"></a>
17</div>
18<div class="section">
19<div class="titlepage"><div><div><h2 class="title" style="clear: both">
20<a name="concepts.holdergenerator"></a><a class="link" href="holdergenerator.html" title="HolderGenerator">HolderGenerator</a>
21</h2></div></div></div>
22<div class="toc"><dl class="toc">
23<dt><span class="section"><a href="holdergenerator.html#concepts.holdergenerator.introduction">Introduction</a></span></dt>
24<dt><span class="section"><a href="holdergenerator.html#concepts.holdergenerator.concept_requirements">Concept
25        Requirements</a></span></dt>
26</dl></div>
27<div class="section">
28<div class="titlepage"><div><div><h3 class="title">
29<a name="concepts.holdergenerator.introduction"></a><a class="link" href="holdergenerator.html#concepts.holdergenerator.introduction" title="Introduction">Introduction</a>
30</h3></div></div></div>
31<p>
32          A HolderGenerator is a unary metafunction class which returns types suitable
33          for holding instances of its argument in a wrapped C++ class instance.
34        </p>
35</div>
36<div class="section">
37<div class="titlepage"><div><div><h3 class="title">
38<a name="concepts.holdergenerator.concept_requirements"></a><a class="link" href="holdergenerator.html#concepts.holdergenerator.concept_requirements" title="Concept Requirements">Concept
39        Requirements</a>
40</h3></div></div></div>
41<p>
42          In the table below, <code class="computeroutput"><span class="identifier">G</span></code> denotes
43          an type which models <code class="computeroutput"><span class="identifier">HolderGenerator</span></code>,
44          and <code class="computeroutput"><span class="identifier">X</span></code> denotes a class type.
45        </p>
46<div class="informaltable"><table class="table">
47<colgroup>
48<col>
49<col>
50</colgroup>
51<thead><tr>
52<th>
53                  <p>
54                    Expression
55                  </p>
56                </th>
57<th>
58                  <p>
59                    Requirements
60                  </p>
61                </th>
62</tr></thead>
63<tbody><tr>
64<td>
65                  <p>
66                    <code class="computeroutput"><span class="identifier">G</span><span class="special">::</span><span class="identifier">apply</span><span class="special">&lt;</span><span class="identifier">X</span><span class="special">&gt;::</span><span class="identifier">type</span></code>
67                  </p>
68                </td>
69<td>
70                  <p>
71                    A concrete subclass of <code class="computeroutput"><span class="identifier">instance_holder</span></code>
72                    which can hold objects of type <code class="computeroutput"><span class="identifier">X</span></code>.
73                  </p>
74                </td>
75</tr></tbody>
76</table></div>
77</div>
78</div>
79<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
80<td align="left"></td>
81<td align="right"><div class="copyright-footer">Copyright © 2002-2005, 2015 David Abrahams, Stefan Seefeld<p>
82        Distributed under the Boost Software License, Version 1.0. (See accompanying
83        file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>
84      </p>
85</div></td>
86</tr></table>
87<hr>
88<div class="spirit-nav">
89<a accesskey="p" href="extractor.html"><img src="../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../concepts.html"><img src="../../images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../images/home.png" alt="Home"></a><a accesskey="n" href="resultconverter.html"><img src="../../images/next.png" alt="Next"></a>
90</div>
91</body>
92</html>
93