forked from boostorg/functional
Merge some documentation improvements from the development branch.
[SVN r38878]
This commit is contained in:
1 parent
afc3267102
commit
c388716534
3 files changed
+14
-8
No files matched your search
@@ -119,7 +119,7 @@ When writing a hash function, first look at how the equality function works.
|
||||
Objects that are equal must generate the same hash value.
|
||||
When objects are not equal they should generate different hash values.
|
||||
In this object equality was based just on the id so the hash function
|
||||
only hash the id. If it was based on the objects name and author
|
||||
only hashes the id. If it was based on the object's name and author
|
||||
then the hash function should take them into account
|
||||
(how to do this is discussed in the next section).
|
||||
]
|
||||
|
||||
Reference in new issue
Block a user