diff options
Diffstat (limited to 'doc/html/boost_typeerasure/rationale.html')
-rw-r--r-- | doc/html/boost_typeerasure/rationale.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/html/boost_typeerasure/rationale.html b/doc/html/boost_typeerasure/rationale.html index 349fb23e87..9e2508d51e 100644 --- a/doc/html/boost_typeerasure/rationale.html +++ b/doc/html/boost_typeerasure/rationale.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="../boost/type_erasure/typeid_of.html" title="Function typeid_of"> <link rel="next" href="future.html" title="Future Work"> </head> @@ -56,7 +56,7 @@ non-member functions?</a> </h3></div></div></div> <p> - The members of <code class="computeroutput">any</code> + The members of <code class="computeroutput"><a class="link" href="../boost/type_erasure/any.html" title="Class template any">any</a></code> can be customized. By using free functions, we guarantee that we don't interfere with anything that a user might want. </p> @@ -87,7 +87,7 @@ store a reference to a function object. However, in the general case treating references and values in the same way causes inconsistent behavior that is difficult to reason about. If Boost.TypeErasure handled references like this, - then, when you copy an <code class="computeroutput">any</code>, + then, when you copy an <code class="computeroutput"><a class="link" href="../boost/type_erasure/any.html" title="Class template any">any</a></code>, you would have no idea whether the new object is a real copy or just a new reference to the same underlying object. Boost.Function can get away with it, because it doesn't expose any mutating operations on the stored function |