https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105841
--- Comment #7 from Jason Merrill <jason at gcc dot gnu.org> --- Created attachment 54444 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54444&action=edit fix Here's a patchset to implement the standard behavior plus the CWG2664 clarification. Mike, does this look good to you? Any additional testcases? Also pushed to refs/users/jason/heads/alias-ctad in the git repository. (https://gcc.gnu.org/git/?p=gcc.git;a=shortlog;h=refs/users/jason/heads/alias-ctad)