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

--- Comment #6 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Jonathan Wakely from comment #5)
> The problem is that you have vector<value>{val} where val can be converted
> to type value. The standard says that this should be interpreted as an
> initializer-list for the value elements of the vector (even though val is
> actually vector<value> and so you might copy construction).

Oops, I meant to say "so you might _expect_ copy construction".

Reply via email to