$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Peter Dimov (pdimov_at_[hidden])
Date: 2005-03-15 12:15:46
Dave Harris wrote:
>
> But suppose I have pair< pair<int,int>, pair<int,int> > ? Shouldn't
> that yield the same hash value as int[4] ?
I don't expect a pair< pair<int, int>, pair<int, int> > to be frequently
refactored into an int[4]. So no, I don't think that it should necessarily
have the same hash value as an int[4]. Similarly, I don't think that vector<
vector<int> > should necessarily have the same hash value as its flattened
vector<int> counterpart.