$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Peter Dimov (pdimov_at_[hidden])
Date: 2021-10-16 23:58:04
Howard Hinnant wrote:
> Given two values x and y, if x == y, it is convenient for hash(x) == hash(y).
>
> In this situation, given a floating point value r, complex{r) == r, so it makes
> sense that hash(complex{r}) == hash(r). This might enable heterogeneous
> hash table lookup.
But that already doesn't hold in general for int/long, float/double,
int/double, and so on.