I think the new conditions are correct. They're certainly an improvment
on just checking __is_scalar without considering what we're assigning it
to.
Tested x86_64-linux.
-- >8 --
As noted in the PR, the optimization used for scalar types in std::fill
and std::fill_n is non-conforming, because it
Pushed to trunk now.
On Thu, 20 Jun 2024 at 16:28, Jonathan Wakely wrote:
>
> I think the new conditions are correct. They're certainly an improvment
> on just checking __is_scalar without considering what we're assigning it
> to.
>
> Tested x86_64-linux.
>
> -- >8 --
>
> As noted in the PR, the