Date: Wed, 4 Oct 2023 21:26:05 +0900
Hello,
I recently came across P2587 "to_string or not to_string", which has been
accepted for C++26, and I am wondering whether there has since been any
attempt to deprecate std::to_string?
The motivation would be to consolidate on std::format, which std::to_string
is now (as of C++26) defined in terms of, thereby making the standard
library marginally smaller and easier to teach (in my opinion).
If this is a stupid idea, then can you kindly inform me of the role that
std::to_string is intended to play in the language for C++26 and beyond?
Thanks,
Jonathan Sweemer
I recently came across P2587 "to_string or not to_string", which has been
accepted for C++26, and I am wondering whether there has since been any
attempt to deprecate std::to_string?
The motivation would be to consolidate on std::format, which std::to_string
is now (as of C++26) defined in terms of, thereby making the standard
library marginally smaller and easier to teach (in my opinion).
If this is a stupid idea, then can you kindly inform me of the role that
std::to_string is intended to play in the language for C++26 and beyond?
Thanks,
Jonathan Sweemer
Received on 2023-10-04 12:26:15