forked from boostorg/utility
*** empty log message ***
[SVN r1871]
This commit is contained in:
1 parent
e45a2b78b8
commit
5d6a9c0581
1 file changed
+3
-3
@@ -219,9 +219,9 @@ references that aren't bound to a keyword isn't possible without some help.
|
||||
::
|
||||
|
||||
float x;
|
||||
foo(value = x); // float&
|
||||
foo(x); // type is float const&, need help!
|
||||
foo(ref(x)); // type is float&
|
||||
foo(value = x); // held type is float&
|
||||
foo(x); // held type is float const&, need help!
|
||||
foo(ref(x)); // held type is float&
|
||||
|
||||
Instances of boost::reference_wrapper<> will un unwrapped to it's held
|
||||
reference type.
|
||||
|
||||
Reference in new issue
Block a user