From 733b5d5ae2c5d625211e2985ac25728ac3f54883 Mon Sep 17 00:00:00 2001 From: DongHun Kwak Date: Mon, 21 Mar 2016 15:45:20 +0900 Subject: Imported Upstream version 1.58.0 Change-Id: If0072143aa26874812e0db6872e1efb10a3e5e94 Signed-off-by: DongHun Kwak --- doc/html/boost_typeerasure/rationale.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'doc/html/boost_typeerasure/rationale.html') 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?

- The members of any + The members of any can be customized. By using free functions, we guarantee that we don't interfere with anything that a user might want.

@@ -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 any, + then, when you copy an any, 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 -- cgit v1.2.3