Skip to content

CTAD for alias templates: implement the "is_deducible" constrain #84492

@hokein

Description

@hokein

We have an initial support at #77890 now.

However, the feature is not fully implemented yet, the is_deducible constrain is missing, see the FIXME at https://github.com/llvm/llvm-project/blob/main/clang/lib/Sema/SemaTemplate.cpp#L2909-L2914, and related testcase at https://github.com/llvm/llvm-project/blob/main/clang/test/SemaCXX/cxx20-ctad-type-alias.cpp#L188-L200

We should have this fixed before the next clang 19 release.

Metadata

Metadata

Assignees

Labels

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

Type

No type

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions