Skip to content

Differing behavior of std::type_index hash and equality from libc++ and libstdc++ #61848

Closed as not planned
@Skylion007

Description

@Skylion007

Full background can be found on the linked discussion pybind/pybind11#4319 (comment) Essentially the behavior of std::type_index is different between the two standard libraries. This behavior seems like a bug in LLVM's implementation and requires us to be careful whenever storing std::type_index in a hashmap when using libc++;

Metadata

Metadata

Assignees

No one assigned

    Labels

    duplicateResolved as duplicatelibc++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