On Thu, 6 Oct 2022 at 07:28, Olaf van der Spek <ml@vdspek.org> wrote:
On Tue, Oct 4, 2022 at 9:24 PM Edward Catmur <ecatmur@googlemail.com> wrote:
> It would probably make sense to warn on / deprecate `std::format_to(T(&)[N], ...)`. I think compilers should be able to do that without any change to the Standard.

It's not just C arrays. If I pass std::array::begin() or data() or
std::array::begin() or data() the same thing happens.

That's obviously incorrect, though (passing in the beginning of a finite range) so it's less of a concern. Passing an array by reference looks like it should work (and does work elsewhere).