mirror of
https://github.com/boostorg/functional.git
synced 2025-07-29 12:07:19 +02:00
@ -121,7 +121,7 @@ public:
|
|||||||
be <tt>std::ostream&&</tt>. Since you cannot have a reference to a
|
be <tt>std::ostream&&</tt>. Since you cannot have a reference to a
|
||||||
reference, at this point we should get a compilation error because
|
reference, at this point we should get a compilation error because
|
||||||
references to references are illegal in C++ (but see <a href=
|
references to references are illegal in C++ (but see <a href=
|
||||||
"http://anubis.dkuug.dk/jtc1/sc22/wg21/docs/cwg_active.html#106">C++
|
"http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_active.html#106">C++
|
||||||
Standard core language active issues list</a>).</p>
|
Standard core language active issues list</a>).</p>
|
||||||
|
|
||||||
<p>The binders in this library avoid this problem by using the Boost
|
<p>The binders in this library avoid this problem by using the Boost
|
||||||
|
@ -228,7 +228,7 @@ std::for_each(c.begin(), c.end(),
|
|||||||
<li>The Standard Committee has recognised the problem of references to
|
<li>The Standard Committee has recognised the problem of references to
|
||||||
references occurring during template instantiation and has moved to fix
|
references occurring during template instantiation and has moved to fix
|
||||||
the standard (see the <a href=
|
the standard (see the <a href=
|
||||||
"http://anubis.dkuug.dk/jtc1/sc22/wg21/docs/cwg_active.html#106">C++
|
"http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_active.html#106">C++
|
||||||
standard core language active issues list</a>).</li>
|
standard core language active issues list</a>).</li>
|
||||||
</ol>
|
</ol>
|
||||||
|
|
||||||
|
@ -151,7 +151,7 @@ public:
|
|||||||
declaring the argument as <tt>const A&</tt>, then if A were a
|
declaring the argument as <tt>const A&</tt>, then if A were a
|
||||||
reference type, we would have a reference to a reference, which is
|
reference type, we would have a reference to a reference, which is
|
||||||
currently illegal (but see <a href=
|
currently illegal (but see <a href=
|
||||||
"http://anubis.dkuug.dk/jtc1/sc22/wg21/docs/cwg_active.html#106">C++ core
|
"http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_active.html#106">C++ core
|
||||||
language issue number 106)</a></p>
|
language issue number 106)</a></p>
|
||||||
|
|
||||||
<p>So the way in which we want to declare the second argument for
|
<p>So the way in which we want to declare the second argument for
|
||||||
|
@ -99,7 +99,7 @@ public:
|
|||||||
<p>Note that if the Predicate's <tt>argument_type</tt> is a reference, the
|
<p>Note that if the Predicate's <tt>argument_type</tt> is a reference, the
|
||||||
type of <tt>operator()</tt>'s argument would be a reference to a reference.
|
type of <tt>operator()</tt>'s argument would be a reference to a reference.
|
||||||
Currently this is illegal in C++ (but see the <a href=
|
Currently this is illegal in C++ (but see the <a href=
|
||||||
"http://anubis.dkuug.dk/jtc1/sc22/wg21/docs/cwg_active.html#106">C++
|
"http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_active.html#106">C++
|
||||||
standard core language active issues list</a>).</p>
|
standard core language active issues list</a>).</p>
|
||||||
|
|
||||||
<p>However, if we instead defined <tt>operator()</tt> to accept Predicate's
|
<p>However, if we instead defined <tt>operator()</tt> to accept Predicate's
|
||||||
|
@ -108,7 +108,7 @@ public:
|
|||||||
declaring the argument as <tt>const Arg&</tt>, then if Arg were a
|
declaring the argument as <tt>const Arg&</tt>, then if Arg were a
|
||||||
reference type, we would have a reference to a reference, which is
|
reference type, we would have a reference to a reference, which is
|
||||||
currently illegal (but see <a href=
|
currently illegal (but see <a href=
|
||||||
"http://anubis.dkuug.dk/jtc1/sc22/wg21/docs/cwg_active.html#106">C++ core
|
"http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_active.html#106">C++ core
|
||||||
language issue number 106)</a></p>
|
language issue number 106)</a></p>
|
||||||
|
|
||||||
<p>So the way in which we want to declare the argument for
|
<p>So the way in which we want to declare the argument for
|
||||||
|
Reference in New Issue
Block a user