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

--- Comment #8 from Frank Heckenbach <f.heckenb...@fh-soft.de> ---
(In reply to Ville Voutilainen from comment #7)
> That's not a bug. You need to make the copy constructor of s conditionally
> deleted depending on whether T is copyconstructible.

The copy constructor of std::vector doesn't seem to do that either
(bits/stl_vector.h:326 in 7.3.0) unless I'm missing something.

Is that what Daniel Krügler meant by "not SFINAE-friendly"? But he also wrote:
"This is a QoI issue but not a violation of the requirements of the standard.",
so I'm confused now.

Reply via email to