3 <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
4 <title>Class template make_recursive_variant_over</title>
5 <link rel="stylesheet" href="../../../doc/src/boostbook.css" type="text/css">
6 <meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
7 <link rel="home" href="../index.html" title="The Boost C++ Libraries BoostBook Documentation Subset">
8 <link rel="up" href="../variant/reference.html#header.boost.variant.recursive_variant_hpp" title="Header <boost/variant/recursive_variant.hpp>">
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">
12 <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
13 <table cellpadding="2" width="100%"><tr>
14 <td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../boost.png"></td>
15 <td align="center"><a href="../../../index.html">Home</a></td>
16 <td align="center"><a href="../../../libs/libraries.htm">Libraries</a></td>
17 <td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
18 <td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
19 <td align="center"><a href="../../../more/index.htm">More</a></td>
22 <div class="spirit-nav">
23 <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 class="refentry">
26 <a name="boost.make_recursiv_idp351329984"></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 — Exposes a recursive <code class="computeroutput">variant</code> whose bounded types
30 are the elements of the given type sequence.</p>
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="comment">// In header: <<a class="link" href="../variant/reference.html#header.boost.variant.recursive_variant_hpp" title="Header <boost/variant/recursive_variant.hpp>">boost/variant/recursive_variant.hpp</a>>
35 </span><span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> Sequence<span class="special">></span>
36 <span class="keyword">class</span> <a class="link" href="make_recursiv_idp351329984.html" title="Class template make_recursive_variant_over">make_recursive_variant_over</a> <span class="special">{</span>
37 <span class="keyword">public</span><span class="special">:</span>
38 <span class="comment">// types</span>
39 <span class="keyword">typedef</span> <span class="identifier">variant</span><span class="special"><</span> <span class="emphasis"><em><span class="identifier">unspecified</span></em></span> <span class="special">></span> <a name="boost.make_recursiv_idp351329984.type"></a><span class="identifier">type</span><span class="special">;</span>
40 <span class="special">}</span><span class="special">;</span></pre></div>
41 <div class="refsect1">
42 <a name="idp523964304"></a><h2>Description</h2>
43 <p><code class="computeroutput">type</code> has behavior equivalent in every respect to
44 <code class="computeroutput"><a class="link" href="make_recursive_variant.html" title="Class template make_recursive_variant">make_recursive_variant</a>< Sequence[0], Sequence[1], ... >::type</code>
45 (where <code class="computeroutput">Sequence[<span class="emphasis"><em>i</em></span>]</code> denotes the
46 <span class="emphasis"><em>i</em></span>-th element of <code class="computeroutput">Sequence</code>), except
47 that no upper limit is imposed on the number of types.</p>
48 <p><span class="bold"><strong>Notes</strong></span>:</p>
49 <div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
51 <code class="computeroutput">Sequence</code> must meet the requirements of
52 MPL's <span class="emphasis"><em>Sequence</em></span>
54 <li class="listitem">Due to standard conformance problems in several compilers,
55 <code class="computeroutput">make_recursive_variant_over</code> may not be supported on
57 <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>
58 for more information.</li>
62 <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
63 <td align="left"></td>
64 <td align="right"><div class="copyright-footer">Copyright © 2002, 2003 Eric Friedman, Itay Maman<p>Distributed under the Boost Software License, Version 1.0.
65 (See accompanying file <code class="filename">LICENSE_1_0.txt</code> or copy at
66 <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
71 <div class="spirit-nav">
72 <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>