C++ Logo

std-discussion

Advanced search

Re: format_to (a char array) easy to misuse

From: Olaf van der Spek <ml_at_[hidden]>
Date: Tue, 4 Oct 2022 21:12:53 +0200
On Sun, Oct 2, 2022 at 10:56 AM Kilian Henneberger via Std-Discussion
<std-discussion_at_[hidden]> wrote:
>
> Hi Olaf,
>
> maybe std::format_to_n is what you require?

Hi,

Maybe
Maybe format_to should've deduced the size automatically.
My point is that format_to seems to easy to misuse.

Olaf

Received on 2022-10-04 19:13:07