|
Boost : |
From: Vinnie Falco (vinnie.falco_at_[hidden])
Date: 2024-12-05 00:43:00
On Wed, Dec 4, 2024 at 1:21â¯PM Robert Ramey via Boost <boost_at_[hidden]>
wrote:
> What does "should" mean here? How could you possible make such a
> guarentee.
>
The guidance is that two distinct values of type T (determined by
operator== returning false) SHOULD produce distinct hash values. As the
means of hashing a T are provided by the user, the requirement to produce
distinct values is advisory.
Thanks
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk