Aliases and uniqueness of lambda in default argument of a class template parameter #123414
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
Consider
https://godbolt.org/z/6ofdP1bPz
All compilers reject
#1
. Only clang rejects#2
.This seems vaguely related, but distinct from CWG2794
Given https://eel.is/c++draft/temp.alias#2
And https://eel.is/c++draft/temp#arg.general-9.sentence-1
It's clear as mud (to me) what the expected behavior should be.
CWG discussion https://lists.isocpp.org/core/2025/01/16895.php
The text was updated successfully, but these errors were encountered: