mirror of
https://github.com/boostorg/bind.git
synced 2025-08-24 00:50:58 +02:00
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;
|
||||
bind(f, ref(i), _1);
|
||||
bind(f, cref(42), _1);
|
||||
bind(f, cref(i), _1);
|
||||
|
||||
[endsect]
|
||||
|
||||
|
Reference in New Issue
Block a user