[Clang] template class with default non-type parameter is never matched in return type of function with variadic template parameter #121381
Labels
clang:frontend
Language frontend issues, e.g. anything involving "Sema"
diverges-from:edg
Does the clang frontend diverge from edg compiler
diverges-from:gcc
Does the clang frontend diverge from gcc on this issue
diverges-from:msvc
Does the clang frontend diverge from msvc on this issue
The following valid program is rejected by Clang:
The code can normally compile if the default template parameter of
tuple
does not exist.GCC, MSVC, and EDG all accept it.
clang rejects it with:
Please see https://godbolt.org/z/6h8vWx47x
The text was updated successfully, but these errors were encountered: