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

--- Comment #7 from Carlos Galvez <carlosgalvezp at gmail dot com> ---
Hi! I had another look at this an have some follow-up questions:

> it looks like GCC already implements the suggested resolution.

This does not seem to be the case? The related bug is
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84884 and it's not closed. I can
confirm it on Compiler Explorer: 

https://godbolt.org/z/6EGbovPMq

So, if the solution to DR 2244 is not yet implemented, then it feels this is a
slightly different issue?

Also, DR 2244 talks about a case where we have a "friend" function performing
the construction. It seems therefore that having "friend" is important, why
else would they add such a constraint? In my example, I don't have "friend", so
I'm unsure if DR 2244 applies there.

Reply via email to