1
0
forked from boostorg/bind

Added - an example of using boost::cref

[SVN r29376]
This commit is contained in:
Victor A. Wagner Jr.
2005-06-02 15:29:01 +00:00
parent 9cfe194f80
commit 2a21f7df2c

View File

@@ -152,6 +152,8 @@ bind(f, i, _1);
<pre>int i = 5;
bind(f, ref(i), _1);
bind(f, cref(42), _1);
</pre>
<h3><a name="with_function_objects">Using bind with function objects</a></h3>
<p><b>bind</b> is not limited to functions; it accepts arbitrary function objects.