Imported Upstream version 1.64.0
[platform/upstream/boost.git] / doc / html / boost / make_recursiv_idp777624384.html
1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2 <html>
3 <head>
4 <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
5 <title>Class template make_recursive_variant_over</title>
6 <link rel="stylesheet" href="../../../doc/src/boostbook.css" type="text/css">
7 <meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
8 <link rel="home" href="../index.html" title="The Boost C++ Libraries BoostBook Documentation Subset">
9 <link rel="up" href="../variant/reference.html#header.boost.variant.recursive_variant_hpp" title="Header &lt;boost/variant/recursive_variant.hpp&gt;">
10 <link rel="prev" href="make_recursive_variant.html" title="Class template make_recursive_variant">
11 <link rel="next" href="recursive_wrapper.html" title="Class template recursive_wrapper">
12 </head>
13 <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
14 <table cellpadding="2" width="100%"><tr>
15 <td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../boost.png"></td>
16 <td align="center"><a href="../../../index.html">Home</a></td>
17 <td align="center"><a href="../../../libs/libraries.htm">Libraries</a></td>
18 <td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
19 <td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
20 <td align="center"><a href="../../../more/index.htm">More</a></td>
21 </tr></table>
22 <hr>
23 <div class="spirit-nav">
24 <a accesskey="p" href="make_recursive_variant.html"><img src="../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../variant/reference.html#header.boost.variant.recursive_variant_hpp"><img src="../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="recursive_wrapper.html"><img src="../../../doc/src/images/next.png" alt="Next"></a>
25 </div>
26 <div class="refentry">
27 <a name="boost.make_recursiv_idp777624384"></a><div class="titlepage"></div>
28 <div class="refnamediv">
29 <h2><span class="refentrytitle">Class template make_recursive_variant_over</span></h2>
30 <p>boost::make_recursive_variant_over &#8212; Exposes a recursive <code class="computeroutput">variant</code> whose bounded types
31           are the elements of the given type sequence.</p>
32 </div>
33 <h2 xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv-title">Synopsis</h2>
34 <div xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="../variant/reference.html#header.boost.variant.recursive_variant_hpp" title="Header &lt;boost/variant/recursive_variant.hpp&gt;">boost/variant/recursive_variant.hpp</a>&gt;
35
36 </span><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> Sequence<span class="special">&gt;</span> 
37 <span class="keyword">class</span> <a class="link" href="make_recursiv_idp777624384.html" title="Class template make_recursive_variant_over">make_recursive_variant_over</a> <span class="special">{</span>
38 <span class="keyword">public</span><span class="special">:</span>
39   <span class="comment">// types</span>
40   <span class="keyword">typedef</span> <span class="identifier">variant</span><span class="special">&lt;</span> <span class="emphasis"><em><span class="identifier">unspecified</span></em></span> <span class="special">&gt;</span> <a name="boost.make_recursiv_idp777624384.type"></a><span class="identifier">type</span><span class="special">;</span>
41 <span class="special">}</span><span class="special">;</span></pre></div>
42 <div class="refsect1">
43 <a name="idp614944352"></a><h2>Description</h2>
44 <p><code class="computeroutput">type</code> has behavior equivalent in every respect to
45           <code class="computeroutput"><a class="link" href="make_recursive_variant.html" title="Class template make_recursive_variant">make_recursive_variant</a>&lt; Sequence[0], Sequence[1], ... &gt;::type</code>
46           (where <code class="computeroutput">Sequence[<span class="emphasis"><em>i</em></span>]</code> denotes the
47           <span class="emphasis"><em>i</em></span>-th element of <code class="computeroutput">Sequence</code>), except
48           that no upper limit is imposed on the number of types.</p>
49 <p><span class="bold"><strong>Notes</strong></span>:</p>
50 <div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
51 <li class="listitem">
52 <code class="computeroutput">Sequence</code> must meet the requirements of
53             MPL's <span class="emphasis"><em>Sequence</em></span>
54             concept.</li>
55 <li class="listitem">Due to standard conformance problems in several compilers,
56             <code class="computeroutput">make_recursive_variant_over</code> may not be supported on
57             your compiler. See
58             <code class="computeroutput"><a class="link" href="../BOOST_VARIANT_NO_TYPE_SEQUENCE_SUPPORT.html" title="Macro BOOST_VARIANT_NO_TYPE_SEQUENCE_SUPPORT">BOOST_VARIANT_NO_TYPE_SEQUENCE_SUPPORT</a></code>
59             for more information.</li>
60 </ul></div>
61 </div>
62 </div>
63 <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
64 <td align="left"></td>
65 <td align="right"><div class="copyright-footer">Copyright &#169; 2002, 2003 Eric Friedman, Itay Maman<p>Distributed under the Boost Software License, Version 1.0.
66     (See accompanying file <code class="filename">LICENSE_1_0.txt</code> or copy at 
67     <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
68     </p>
69 </div></td>
70 </tr></table>
71 <hr>
72 <div class="spirit-nav">
73 <a accesskey="p" href="make_recursive_variant.html"><img src="../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../variant/reference.html#header.boost.variant.recursive_variant_hpp"><img src="../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="recursive_wrapper.html"><img src="../../../doc/src/images/next.png" alt="Next"></a>
74 </div>
75 </body>
76 </html>