ExportXMLWordPrintableJSON

    • Server Programmability
    • Fully Compatible
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The _internal namespaces are conventionally unsafe to use in Google's APIs.

      There are some cases in Gtest where it's necessary, but these are bugs.

      In 2024 Abseil recognized an API gap that was forcing users (including us) to reach into an internal absl namespace to access the default hash/eq functions for their hash tables.

      We can fix that easily now.

      Add a header include:

      #include <absl/container/hash_container_defaults.h>
      

      Replace absl::container_internal::hash_default_hash
      with absl::DefaultHashContainerHash.
      Replace absl::container_internal::hash_default_eq
      with absl::DefaultHashContainerEq.

            Assignee:
            Billy Donahue
            Reporter:
            Billy Donahue
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: