Skip to content

[C++17][clang:Frontend] Clang can't deduce the correct deduction guide. #67959

Closed
@HoBoIs

Description

@HoBoIs

If there are two auto generated deduction guides from a templated and a non templated constructor we should choose the guide generated from the non-templated constructor. But clang can't deduce which one should we use. (gcc can)

https://godbolt.org/z/ee3e9qG78

Metadata

Metadata

Assignees

No one assigned

    Labels

    c++17clang: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