Prefer using boost::hash_range instead of an hand rolled implementation.