diff options
Diffstat (limited to 'doc/html/any/s02.html')
-rw-r--r-- | doc/html/any/s02.html | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/doc/html/any/s02.html b/doc/html/any/s02.html index 42b39a1cae..8dafcae1b6 100644 --- a/doc/html/any/s02.html +++ b/doc/html/any/s02.html @@ -4,10 +4,10 @@ <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>Examples</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.79.1"> <link rel="home" href="../index.html" title="The Boost C++ Libraries BoostBook Documentation Subset"> -<link rel="up" href="../any.html" title="Chapter 3. Boost.Any"> -<link rel="prev" href="../any.html" title="Chapter 3. Boost.Any"> +<link rel="up" href="../any.html" title="Chapter 4. Boost.Any"> +<link rel="prev" href="../any.html" title="Chapter 4. Boost.Any"> <link rel="next" href="reference.html" title="Reference"> </head> <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> @@ -25,14 +25,14 @@ </div> <div class="section"> <div class="titlepage"><div><div><h2 class="title" style="clear: both"> -<a name="idp39044976"></a>Examples</h2></div></div></div> +<a name="idm45928153667824"></a>Examples</h2></div></div></div> <p>The following code demonstrates the syntax for using implicit conversions to and copying of any objects:</p> <pre class="programlisting"> #include <list> #include <boost/any.hpp> -using <code class="computeroutput"><a class="link" href="../boost/any_cast_idp6057536.html" title="Function any_cast">boost::any_cast</a></code>; +using <code class="computeroutput"><a class="link" href="../boost/any_cast_idm46563494295088.html" title="Function any_cast">boost::any_cast</a></code>; typedef std::list<<code class="computeroutput"><a class="link" href="../boost/any.html" title="Class any">boost::any</a></code>> many; void append_int(many & values, int value) @@ -67,19 +67,19 @@ void append_nothing(many & values) <pre class="programlisting"> bool is_empty(const <code class="computeroutput"><a class="link" href="../boost/any.html" title="Class any">boost::any</a></code> & operand) { - return operand.<code class="computeroutput"><a class="link" href="../boost/any.html#idp9449872-bb">empty</a></code>(); + return operand.<code class="computeroutput"><a class="link" href="../boost/any.html#idm46563494307248-bb">empty</a></code>(); } bool is_int(const <code class="computeroutput"><a class="link" href="../boost/any.html" title="Class any">boost::any</a></code> & operand) { - return operand.<code class="computeroutput"><a class="link" href="../boost/any.html#idp9453184-bb">type</a></code>() == typeid(int); + return operand.<code class="computeroutput"><a class="link" href="../boost/any.html#idm46563494304336-bb">type</a></code>() == typeid(int); } bool is_char_ptr(const <code class="computeroutput"><a class="link" href="../boost/any.html" title="Class any">boost::any</a></code> & operand) { try { - <code class="computeroutput"><a class="link" href="../boost/any_cast_idp6057536.html" title="Function any_cast">any_cast</a></code><const char *>(operand); + <code class="computeroutput"><a class="link" href="../boost/any_cast_idm46563494295088.html" title="Function any_cast">any_cast</a></code><const char *>(operand); return true; } catch(const <code class="computeroutput"><a class="link" href="../boost/bad_any_cast.html" title="Class bad_any_cast">boost::bad_any_cast</a></code> &) @@ -90,7 +90,7 @@ bool is_char_ptr(const <code class="computeroutput"><a class="link" href="../boo bool is_string(const <code class="computeroutput"><a class="link" href="../boost/any.html" title="Class any">boost::any</a></code> & operand) { - return <code class="computeroutput"><a class="link" href="../boost/any_cast_idp6057536.html" title="Function any_cast">any_cast</a></code><std::string>(&operand); + return <code class="computeroutput"><a class="link" href="../boost/any_cast_idm46563494295088.html" title="Function any_cast">any_cast</a></code><std::string>(&operand); } void count_all(many & values, std::ostream & out) |