Skip to content

[libc++] std.functional.hash should be exported from Clang modules for some standard library headers #169634

@frederick-vs-ja

Description

@frederick-vs-ja

Per [unord.hash]/2, components in <__functional/hash.h> should be available in the following headers:

In Clang module builds, it should also be valid to obtain the components by including one of the these headers. However, it was observed in #169611 that this didn't work.

Presumably we need to either

  • fix module.modulemap.in by exporting std.functional.hash wherever suitable, or
  • directly include <__functional/hash.h> in these standard library headers.

Metadata

Metadata

Assignees

No one assigned

    Labels

    libc++libc++ C++ Standard Library. Not GNU libstdc++. Not libc++abi.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions