mirror of
https://github.com/boostorg/utility.git
synced 2025-08-02 22:34:31 +02:00
*** empty log message ***
[SVN r1871]
This commit is contained in:
@@ -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