forked from boostorg/unordered
Hopefully clearer comparison of accessors for comparison/hash function objects.
[SVN r41933]
This commit is contained in:
@@ -13,14 +13,11 @@
|
|||||||
`Pred`]
|
`Pred`]
|
||||||
]
|
]
|
||||||
[
|
[
|
||||||
[`Compare` exposed by member typedef `key_compare`, accessed by member function `key_comp()`]
|
[Keys can be compared using `key_compare` which is accessed by member function `key_comp()`,
|
||||||
[`Hash` exposed by member typedef `hasher`, accessed by member function `hash_function()`.
|
values can be compared using `value_compare` whice is accessed by member function `value_comp()`.]
|
||||||
|
[Keys can be hashed using `hasher` which is accessed by member function `hash_function()`,
|
||||||
`Pred` by member typedef `key_equal` and member function `key_eq()`.]
|
and checked for equality using `key_equal` which is accessed by member function `key_eq()`.
|
||||||
]
|
There is no function object for compared or hashing values.]
|
||||||
[
|
|
||||||
[Member typedef `value_compare` supplies an ordering comparison for member elements, accessed by member function `value_comp()`.]
|
|
||||||
[No equivalent. No idea why.]
|
|
||||||
]
|
]
|
||||||
[
|
[
|
||||||
[Constructors have optional extra parameters for the comparison object.]
|
[Constructors have optional extra parameters for the comparison object.]
|
||||||
|
Reference in New Issue
Block a user