[Bug c++/102529] ctad for aliases fails in the presence of constraints

ppalka at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Jun 2 19:22:10 GMT 2022


--- Comment #1 from Patrick Palka <ppalka at gcc dot gnu.org> ---
Hmm, it looks like this issue isn't concepts specific.  Any non-trivial alias
template, i.e. one that isn't just a renaming of the underlying template (in
the sense of cwg1286) exhibits this bug.  We still reject the testcase if
define the alias template A as, say,

  template <typename T>
  using A = C<const T>;

More information about the Gcc-bugs mailing list