diff options
Diffstat (limited to 'doc/html/boost_typeerasure/basic.html')
-rw-r--r-- | doc/html/boost_typeerasure/basic.html | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/doc/html/boost_typeerasure/basic.html b/doc/html/boost_typeerasure/basic.html index 448027fbe3..c89208b363 100644 --- a/doc/html/boost_typeerasure/basic.html +++ b/doc/html/boost_typeerasure/basic.html @@ -6,7 +6,7 @@ <link rel="stylesheet" href="../../../doc/src/boostbook.css" type="text/css"> <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="../boost_typeerasure.html" title="Chapter 33. Boost.TypeErasure"> +<link rel="up" href="../boost_typeerasure.html" title="Chapter 34. Boost.TypeErasure"> <link rel="prev" href="reading.html" title="How to read this documentation"> <link rel="next" href="composing_concepts.html" title="Composing Concepts"> </head> @@ -31,10 +31,10 @@ (For the source of the examples in this section see <a href="../../../libs/type_erasure/example/basic.cpp" target="_top">basic.cpp</a>) </p> <p> - The main class in the library is <code class="computeroutput">any</code>. - An <code class="computeroutput">any</code> can store objects + The main class in the library is <code class="computeroutput"><a class="link" href="../boost/type_erasure/any.html" title="Class template any">any</a></code>. + An <code class="computeroutput"><a class="link" href="../boost/type_erasure/any.html" title="Class template any">any</a></code> can store objects that meet whatever requirements we specify. These requirements are passed to - <code class="computeroutput">any</code> as an MPL sequence. + <code class="computeroutput"><a class="link" href="../boost/type_erasure/any.html" title="Class template any">any</a></code> as an MPL sequence. </p> <div class="note"><table border="0" summary="Note"> <tr> @@ -56,12 +56,12 @@ <p> <code class="computeroutput"><a class="link" href="../boost/type_erasure/copy_constructible.html" title="Struct template copy_constructible">copy_constructible</a></code> is a builtin concept that allows us to copy and destroy the object. <code class="computeroutput"><a class="link" href="../boost/type_erasure/typeid_.html" title="Struct template typeid_">typeid_</a></code> provides run-time type - information so that we can use <code class="computeroutput"><a class="link" href="../boost/type_erasure/any_cast_idp99227696.html" title="Function any_cast">any_cast</a></code>. + information so that we can use <code class="computeroutput"><a class="link" href="../boost/type_erasure/any_cast_idm45506900398752.html" title="Function any_cast">any_cast</a></code>. <code class="computeroutput"><a class="link" href="../boost/type_erasure/relaxed.html" title="Struct relaxed">relaxed</a></code> enables various useful defaults. Without <code class="computeroutput"><a class="link" href="../boost/type_erasure/relaxed.html" title="Struct relaxed">relaxed</a></code>, - <code class="computeroutput">any</code> supports <span class="emphasis"><em>exactly</em></span> + <code class="computeroutput"><a class="link" href="../boost/type_erasure/any.html" title="Class template any">any</a></code> supports <span class="emphasis"><em>exactly</em></span> what you specify and nothing else. In particular, it allows default construction - and assignment of <code class="computeroutput">any</code>. + and assignment of <code class="computeroutput"><a class="link" href="../boost/type_erasure/any.html" title="Class template any">any</a></code>. </p> <p> Now, this example doesn't do very much. <code class="computeroutput"><span class="identifier">x</span></code> @@ -128,10 +128,10 @@ Also, note that <code class="computeroutput"><span class="identifier">append_many</span></code> has to operate directly on its argument. It cannot make a copy. To handle this we use <code class="computeroutput"><span class="identifier">_self</span><span class="special">&</span></code> - as the second argument of <code class="computeroutput">any</code>. + as the second argument of <code class="computeroutput"><a class="link" href="../boost/type_erasure/any.html" title="Class template any">any</a></code>. <code class="computeroutput"><span class="identifier">_self</span></code> is a <code class="computeroutput"><a class="link" href="../boost/type_erasure/placeholder.html" title="Struct placeholder">placeholder</a></code>. By using <code class="computeroutput"><span class="identifier">_self</span><span class="special">&</span></code>, - we indicate that the <code class="computeroutput">any</code> + we indicate that the <code class="computeroutput"><a class="link" href="../boost/type_erasure/any.html" title="Class template any">any</a></code> stores a reference to an external object instead of allocating its own object. </p> <p> |