[Bug c++/95486] ICE for alias CTAD with non-dependent argument and constrained constructor

johelegp at gmail dot com gcc-bugzilla@gcc.gnu.org
Wed Jun 3 06:05:50 GMT 2020


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95486

--- Comment #3 from Johel Ernesto Guerrero Peña <johelegp at gmail dot com> ---
Having only the above unconstrained constructor works as expected, so I suppose
it's valid. See https://godbolt.org/z/nMysB_. The actual use case doesn't
currently have the unconstrained constructor, but does have a constrained
constructor and the ICE would prevent usage of the feature.


More information about the Gcc-bugs mailing list