Skip to content

visit_format_arg hiding of 128-bit ints is still broken #139582

@t3nsor

Description

@t3nsor

libstdc++ fixed a bug where 128-bit ints are visible to visitors passed to std::visit_format_arg. There was an attempt to do the same in libc++ but it is insufficient. Although 128-bit int types are now wrapped in handles before being passed to the user-provided visitor, the current libc++ still requires overload resolution to succeed for passing 128-bit int types directly to the user-provided visitor, as can be seen in this godbolt link. https://godbolt.org/z/r5vj31M3v

Metadata

Metadata

Assignees

No one assigned

    Labels

    formatC++20 std::format or std::print, and anything related to themlibc++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