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

--- Comment #2 from Bernard Teo <btzy1996 at gmail dot com> ---
Hmm, I didn't realise it was brace elision - the error makes much more sense
this way.  Reporting the assumption (e.g. "`A` can't be initialized from
`*this`, assuming brace elision") would solve the problem.  In my opinion the
important part of the message is that "`A` can't be initialized from `*this`" -
just that part should point the programmer in the right direction.

Reply via email to