C++ Logo

std-proposals

Advanced search

Re: [std-proposals] Should std::to_string be deprecated?

From: Giuseppe D'Angelo <giuseppe.dangelo_at_[hidden]>
Date: Thu, 5 Oct 2023 09:56:14 +0200
Il 04/10/23 22:38, Victor Zverovich via Std-Proposals ha scritto:
> At the very least std::to_string is a useful shorthand notation for
> std::format for numeric types.
>

But this prompts the question: would it would make sense to have a
overload `to_string` taking just any formattable type?

Thanks,
-- 
Giuseppe D'Angelo

Received on 2023-10-05 07:56:19