[Bug c++/96268] class-type NTTP CTAD for string-literal aggregate fails on aggregate initialization

mpolacek at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Jul 21 15:46:35 GMT 2020


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

--- Comment #3 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
name<{"hi"}> would work if convert_nontype_argument called digest_init for the
CONSTRUCTOR.  This reminds me of another PR where I wanted to add such a
digest_init call, but in the end wound up doing something different.
Obviously, we don't want to open the door too wide here.


More information about the Gcc-bugs mailing list