Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: downloads/boost_1_34_1/doc/html/boost/make_variant_over.html @ 46

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

updated boost from 1_33_1 to 1_34_1

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_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 BoostBook Documentation Subset">
8<link rel="up" href="../variant/reference.html#header.boost.variant.variant.hpp" title="Header &lt;boost/variant/variant.hpp&gt;">
9<link rel="prev" href="../id1603147-bb.html" title="Function template operator&lt;&lt;">
10<link rel="next" href="make_recursive_variant.html" title="Class template make_recursive_variant">
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 C++ Libraries" 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="../id1603147-bb.html"><img src="../images/prev.png" alt="Prev"></a><a accesskey="u" href="../variant/reference.html#header.boost.variant.variant.hpp"><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="make_recursive_variant.html"><img src="../images/next.png" alt="Next"></a>
24</div>
25<div class="refentry" lang="en">
26<a name="boost.make_variant_over"></a><div class="titlepage"></div>
27<div class="refnamediv">
28<h2><span class="refentrytitle">Class template make_variant_over</span></h2>
29<p>boost::make_variant_over &#8212; <p>Exposes a <code class="computeroutput">variant</code> whose bounded types are the
30          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_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="id1946962"></a><h2>Description</h2>
41<p><code class="computeroutput">type</code> has behavior equivalent in every respect to
42          <code class="computeroutput"><a href="variant.html" title="Class template variant">variant</a>&lt; Sequence[0], Sequence[1], ... &gt;</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_variant_over</code> may not be supported on your
54            compiler. See
55            <code class="computeroutput"><a href="../BOOST_VARIANT_NO_TYPE_SEQUENCE_SUPPORT.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 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="../id1603147-bb.html"><img src="../images/prev.png" alt="Prev"></a><a accesskey="u" href="../variant/reference.html#header.boost.variant.variant.hpp"><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="make_recursive_variant.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.