either.hh: std::hash doesn't need to be a friend