forked from boostorg/bind
Fix error in example.
This commit is contained in:
@@ -76,7 +76,7 @@ object store a reference to an object, rather than a copy:
|
|||||||
|
|
||||||
int i = 5;
|
int i = 5;
|
||||||
bind(f, ref(i), _1);
|
bind(f, ref(i), _1);
|
||||||
bind(f, cref(42), _1);
|
bind(f, cref(i), _1);
|
||||||
|
|
||||||
[endsect]
|
[endsect]
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user