mirror of
https://github.com/boostorg/function.git
synced 2025-07-29 12:27:15 +02:00
Be more precise about EqualityComparable and function_equal
[SVN r27732]
This commit is contained in:
@ -329,8 +329,8 @@ exceptions during assignment or construction.
|
|||||||
or <code>!=</code> against any function object that can be stored
|
or <code>!=</code> against any function object that can be stored
|
||||||
within the wrapper. If the function object wrapper contains a
|
within the wrapper. If the function object wrapper contains a
|
||||||
function object of that type, it will be compared against the given
|
function object of that type, it will be compared against the given
|
||||||
function object (which must be
|
function object (which must be either be
|
||||||
<conceptname>EqualityComparable</conceptname>). For instance:</para>
|
<conceptname>EqualityComparable</conceptname> or have an overloaded <functionname>boost::function_equal</functionname>). For instance:</para>
|
||||||
|
|
||||||
<programlisting name="function.tutorial.compare">int compute_with_X(X*, int);
|
<programlisting name="function.tutorial.compare">int compute_with_X(X*, int);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user