I noticed that third_party/abseil-cpp/absl/hash is in the banned directly list in the root DEPS file, in the section that starts with:
# Abseil is allowed by default, but some features are banned. See
# //styleguide/c++/c++-features.md.
But hashing isn't mentioned at all in c++features.md. Is this an oversight?
The context is I needed to add `AbslHashValue` friend functions to some classes so they can be used as keys in absl::flat_hash_map. That itself doesn't need to include third_party/abseil-cpp/absl/hash/hash.h, but I tried to include it in a unit test to use `absl::HashOf` to make sure the friend functions built correctly.
I could just stick objects in an absl::flat_hash_map for the unit test if there's an actual reason to ban direct use of absl/hash, but I suspect it's just banned in DEPS by mistake.
Joe