Skip to content

Clang 20 breaks deduction for function templates with variadic template template arguments used in the return type #140519

Open
@viccie30

Description

@viccie30

A test in Catch2 fails to build since Clang 20. I have reduced the issue to the difference in the treatment of the deduction of variadic template template arguments. It does work with std::vector, but not with std::tuple. You can see the issue on Godbolt: https://godbolt.org/z/PndbeejKz

Metadata

Metadata

Assignees

No one assigned

    Labels

    clang:frontendLanguage frontend issues, e.g. anything involving "Sema"

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions