Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: downloads/boost_1_33_1/doc/html/id1151195.html @ 12

Last change on this file since 12 was 12, checked in by landauf, 17 years ago

added boost

File size: 4.6 KB
Line 
1<html>
2<head>
3<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
4<title>Class template make_recursive_variant_over</title>
5<link rel="stylesheet" href="boostbook.css" type="text/css">
6<meta name="generator" content="DocBook XSL Stylesheets V1.68.1">
7<link rel="start" href="index.html" title="The Boost C++ Libraries">
8<link rel="up" href="variant/reference.html#id1362374" title="Header &lt;boost/variant/recursive_variant.hpp&gt;">
9<link rel="prev" href="make_recursive_variant.html" title="Class template make_recursive_variant">
10<link rel="next" href="recursive_wrapper.html" title="Class template recursive_wrapper">
11</head>
12<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
13<table cellpadding="2" width="100%">
14<td valign="top"><img alt="boost.png (6897 bytes)" width="277" height="86" src="../../boost.png"></td>
15<td align="center"><a href="../../index.htm">Home</a></td>
16<td align="center"><a href="../../libs/libraries.htm">Libraries</a></td>
17<td align="center"><a href="../../people/people.htm">People</a></td>
18<td align="center"><a href="../../more/faq.htm">FAQ</a></td>
19<td align="center"><a href="../../more/index.htm">More</a></td>
20</table>
21<hr>
22<div class="spirit-nav">
23<a accesskey="p" href="make_recursive_variant.html"><img src="images/prev.png" alt="Prev"></a><a accesskey="u" href="variant/reference.html#id1362374"><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="recursive_wrapper.html"><img src="images/next.png" alt="Next"></a>
24</div>
25<div class="refentry" lang="en">
26<a name="id1151195"></a><div class="titlepage"></div>
27<div class="refnamediv">
28<h2><span class="refentrytitle">Class template make_recursive_variant_over</span></h2>
29<p>boost::make_recursive_variant_over &#8212; <p>Exposes a recursive <code class="computeroutput">variant</code> whose bounded types
30          are the elements of the given type sequence.</p></p>
31</div>
32<h2 xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv-title">Synopsis</h2>
33<div xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv"><pre class="synopsis"><span class="bold"><strong>template</strong></span>&lt;<span class="bold"><strong>typename</strong></span> Sequence&gt; 
34<span class="bold"><strong>class</strong></span> make_recursive_variant_over {
35<span class="bold"><strong>public</strong></span>:
36  <span class="emphasis"><em>// types</em></span>
37  <span class="bold"><strong>typedef</strong></span> variant&lt; <span class="emphasis"><em>unspecified</em></span> &gt; type;
38};</pre></div>
39<div class="refsect1" lang="en">
40<a name="id1666722"></a><h2>Description</h2>
41<p><code class="computeroutput">type</code> has behavior equivalent in every respect to
42          <code class="computeroutput"><a href="make_recursive_variant.html" title="Class template make_recursive_variant">make_recursive_variant</a>&lt; Sequence[0], Sequence[1], ... &gt;::type</code>
43          (where <code class="computeroutput">Sequence[<span class="emphasis"><em>i</em></span>]</code> denotes the
44          <span class="emphasis"><em>i</em></span>-th element of <code class="computeroutput">Sequence</code>), except
45          that no upper limit is imposed on the number of types.</p>
46<p><span class="bold"><strong>Notes</strong></span>:</p>
47<div class="itemizedlist"><ul type="disc">
48<li>
49<code class="computeroutput">Sequence</code> must meet the requirements of
50            <a href="../../libs/mpl/index.html" target="_top">MPL</a>'s <span class="emphasis"><em>Sequence</em></span>
51            concept.</li>
52<li>Due to standard conformance problems in several compilers,
53            <code class="computeroutput">make_recursive_variant_over</code> may not be supported on
54            your compiler. See
55            <code class="computeroutput"><a href="id1351704.html" title="Macro BOOST_VARIANT_NO_TYPE_SEQUENCE_SUPPORT">BOOST_VARIANT_NO_TYPE_SEQUENCE_SUPPORT</a></code>
56            for more information.</li>
57</ul></div>
58</div>
59</div>
60<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
61<td align="left"></td>
62<td align="right"><small>Copyright © 2002, 2003 Eric Friedman, Itay Maman</small></td>
63</tr></table>
64<hr>
65<div class="spirit-nav">
66<a accesskey="p" href="make_recursive_variant.html"><img src="images/prev.png" alt="Prev"></a><a accesskey="u" href="variant/reference.html#id1362374"><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="recursive_wrapper.html"><img src="images/next.png" alt="Next"></a>
67</div>
68</body>
69</html>
Note: See TracBrowser for help on using the repository browser.