Imported Upstream version 1.57.0
[platform/upstream/boost.git] / doc / html / variant.html
index c6e5a76..0061386 100644 (file)
@@ -1,9 +1,9 @@
 <html>
 <head>
 <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
-<title>Chapter&#160;34.&#160;Boost.Variant</title>
+<title>Chapter&#160;38.&#160;Boost.Variant</title>
 <link rel="stylesheet" href="../../doc/src/boostbook.css" type="text/css">
-<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
+<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
 <link rel="home" href="index.html" title="The Boost C++ Libraries BoostBook Documentation Subset">
 <link rel="up" href="libraries.html" title="Part&#160;I.&#160;The Boost C++ Libraries (BoostBook Subset)">
 <link rel="prev" href="unordered/bibliography.html" title="Bibliography">
@@ -25,7 +25,7 @@
 <div class="chapter">
 <div class="titlepage"><div>
 <div><h2 class="title">
-<a name="variant"></a>Chapter&#160;34.&#160;Boost.Variant</h2></div>
+<a name="variant"></a>Chapter&#160;38.&#160;Boost.Variant</h2></div>
 <div><div class="author"><h3 class="author">
 <span class="firstname">Eric</span> <span class="surname">Friedman</span>
 </h3></div></div>
@@ -34,7 +34,7 @@
 </h3></div></div>
 <div><p class="copyright">Copyright &#169; 2002, 2003 Eric Friedman, Itay Maman</p></div>
 <div><div class="legalnotice">
-<a name="id3793604"></a><p>Distributed under the Boost Software License, Version 1.0.
+<a name="idp522563024"></a><p>Distributed under the Boost Software License, Version 1.0.
     (See accompanying file <code class="filename">LICENSE_1_0.txt</code> or copy at 
     <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
     </p>
@@ -42,7 +42,7 @@
 </div></div>
 <div class="toc">
 <p><b>Table of Contents</b></p>
-<dl>
+<dl class="toc">
 <dt><span class="section"><a href="variant.html#variant.intro">Introduction</a></span></dt>
 <dd><dl>
 <dt><span class="section"><a href="variant.html#variant.abstract">Abstract</a></span></dt>
@@ -62,7 +62,9 @@
 <dt><span class="section"><a href="variant/reference.html#header.boost.variant.recursive_variant_hpp">Header &lt;boost/variant/recursive_variant.hpp&gt;</a></span></dt>
 <dt><span class="section"><a href="variant/reference.html#header.boost.variant.recursive_wrapper_hpp">Header &lt;boost/variant/recursive_wrapper.hpp&gt;</a></span></dt>
 <dt><span class="section"><a href="variant/reference.html#header.boost.variant.apply_visitor_hpp">Header &lt;boost/variant/apply_visitor.hpp&gt;</a></span></dt>
+<dt><span class="section"><a href="variant/reference.html#header.boost.variant.multivisitors_hpp">Header &lt;boost/variant/multivisitors.hpp&gt;</a></span></dt>
 <dt><span class="section"><a href="variant/reference.html#header.boost.variant.get_hpp">Header &lt;boost/variant/get.hpp&gt;</a></span></dt>
+<dt><span class="section"><a href="variant/reference.html#header.boost.variant.polymorphic_get_hpp">Header &lt;boost/variant/polymorphic_get.hpp&gt;</a></span></dt>
 <dt><span class="section"><a href="variant/reference.html#header.boost.variant.bad_visit_hpp">Header &lt;boost/variant/bad_visit.hpp&gt;</a></span></dt>
 <dt><span class="section"><a href="variant/reference.html#header.boost.variant.static_visitor_hpp">Header &lt;boost/variant/static_visitor.hpp&gt;</a></span></dt>
 <dt><span class="section"><a href="variant/reference.html#header.boost.variant.visitor_ptr_hpp">Header &lt;boost/variant/visitor_ptr.hpp&gt;</a></span></dt>
@@ -72,7 +74,7 @@
 <dt><span class="section"><a href="variant/misc.html">Miscellaneous Notes</a></span></dt>
 <dd><dl>
 <dt><span class="section"><a href="variant/misc.html#variant.versus-any">Boost.Variant vs. Boost.Any</a></span></dt>
-<dt><span class="section"><a href="variant/misc.html#id3812199">Portability</a></span></dt>
+<dt><span class="section"><a href="variant/misc.html#idp525417744">Portability</a></span></dt>
 <dt><span class="section"><a href="variant/misc.html#variant.troubleshooting">Troubleshooting</a></span></dt>
 <dt><span class="section"><a href="variant/misc.html#variant.ack">Acknowledgments</a></span></dt>
 </dl></dd>
@@ -82,7 +84,7 @@
 <div class="section">
 <div class="titlepage"><div><div><h2 class="title" style="clear: both">
 <a name="variant.intro"></a>Introduction</h2></div></div></div>
-<div class="toc"><dl>
+<div class="toc"><dl class="toc">
 <dt><span class="section"><a href="variant.html#variant.abstract">Abstract</a></span></dt>
 <dt><span class="section"><a href="variant.html#variant.motivation">Motivation</a></span></dt>
 </dl></div>
@@ -98,13 +100,13 @@ standard containers such as <code class="computeroutput">std::vector</code> may
 single value</strong></span>."</p>
 <p>Notable features of <code class="computeroutput"><a class="link" href="boost/variant.html" title="Class template variant">boost::variant</a></code>
 include:</p>
-<div class="itemizedlist"><ul class="itemizedlist" type="disc">
+<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
 <li class="listitem">Full value semantics, including adherence to standard
     overload resolution rules for conversion operations.</li>
 <li class="listitem">Compile-time type-safe value visitation via
     <code class="computeroutput"><a class="link" href="boost/apply_visitor.html" title="Function apply_visitor">boost::apply_visitor</a></code>.</li>
 <li class="listitem">Run-time checked explicit value retrieval via
-    <code class="computeroutput"><a class="link" href="boost/get_id1573726.html" title="Function get">boost::get</a></code>.</li>
+    <code class="computeroutput"><a class="link" href="boost/get_idp94543392.html" title="Function get">boost::get</a></code>.</li>
 <li class="listitem">Support for recursive variant types via both
     <code class="computeroutput"><a class="link" href="boost/make_recursive_variant.html" title="Class template make_recursive_variant">boost::make_recursive_variant</a></code> and
     <code class="computeroutput"><a class="link" href="boost/recursive_wrapper.html" title="Class template recursive_wrapper">boost::recursive_wrapper</a></code>.</li>
@@ -115,7 +117,7 @@ include:</p>
 <div class="section">
 <div class="titlepage"><div><div><h3 class="title">
 <a name="variant.motivation"></a>Motivation</h3></div></div></div>
-<div class="toc"><dl>
+<div class="toc"><dl class="toc">
 <dt><span class="section"><a href="variant.html#variant.motivation.problem">Problem</a></span></dt>
 <dt><span class="section"><a href="variant.html#variant.motivation.solution">Solution: A Motivating Example</a></span></dt>
 </dl></div>
@@ -147,10 +149,10 @@ manipulated through a common base type (often a virtual base class
 or, more dangerously, a <code class="computeroutput">void*</code>). Objects of
 concrete type may be then retrieved by way of a polymorphic downcast
 construct (e.g., <code class="computeroutput">dynamic_cast</code>,
-<code class="computeroutput"><a class="link" href="boost/any_cast.html" title="Function any_cast">boost::any_cast</a></code>, etc.).</p>
+<code class="computeroutput"><a class="link" href="boost/any_cast_idp41191712.html" title="Function any_cast">boost::any_cast</a></code>, etc.).</p>
 <p>However, solutions of this sort are highly error-prone, due
 to the following:</p>
-<div class="itemizedlist"><ul class="itemizedlist" type="disc">
+<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
 <li class="listitem">
 <span class="emphasis"><em>Downcast errors cannot be detected at
     compile-time.</em></span> Thus, incorrect usage of downcast