mirror of
https://github.com/boostorg/utility.git
synced 2025-08-03 06:44:37 +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;
|
float x;
|
||||||
foo(value = x); // float&
|
foo(value = x); // held type is float&
|
||||||
foo(x); // type is float const&, need help!
|
foo(x); // held type is float const&, need help!
|
||||||
foo(ref(x)); // type is float&
|
foo(ref(x)); // held type is float&
|
||||||
|
|
||||||
Instances of boost::reference_wrapper<> will un unwrapped to it's held
|
Instances of boost::reference_wrapper<> will un unwrapped to it's held
|
||||||
reference type.
|
reference type.
|
||||||
|
Reference in New Issue
Block a user