summaryrefslogtreecommitdiff
path: root/doc/html/boost_typeerasure/rationale.html
diff options
context:
space:
mode:
authorDongHun Kwak <dh0128.kwak@samsung.com>2016-03-21 15:45:20 +0900
committerDongHun Kwak <dh0128.kwak@samsung.com>2016-03-21 15:46:37 +0900
commit733b5d5ae2c5d625211e2985ac25728ac3f54883 (patch)
treea5b214744b256f07e1dc2bd7273035a7808c659f /doc/html/boost_typeerasure/rationale.html
parent08c1e93fa36a49f49325a07fe91ff92c964c2b6c (diff)
downloadboost-733b5d5ae2c5d625211e2985ac25728ac3f54883.tar.gz
boost-733b5d5ae2c5d625211e2985ac25728ac3f54883.tar.bz2
boost-733b5d5ae2c5d625211e2985ac25728ac3f54883.zip
Imported Upstream version 1.58.0upstream/1.58.0
Change-Id: If0072143aa26874812e0db6872e1efb10a3e5e94 Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
Diffstat (limited to 'doc/html/boost_typeerasure/rationale.html')
-rw-r--r--doc/html/boost_typeerasure/rationale.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/html/boost_typeerasure/rationale.html b/doc/html/boost_typeerasure/rationale.html
index 8694172eb2..fff59e03dd 100644
--- a/doc/html/boost_typeerasure/rationale.html
+++ b/doc/html/boost_typeerasure/rationale.html
@@ -55,7 +55,7 @@
non-member functions?</a>
</h3></div></div></div>
<p>
- The members of <code class="computeroutput"><a class="link" href="../boost/type_erasure/any.html" title="Class template any">any</a></code>
+ The members of <code class="computeroutput">any</code>
can be customized. By using free functions, we guarantee that we don't interfere
with anything that a user might want.
</p>
@@ -86,7 +86,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"><a class="link" href="../boost/type_erasure/any.html" title="Class template any">any</a></code>,
+ then, when you copy an <code class="computeroutput">any</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