r/cpp • u/alberto-m-dev • Jun 26 '26
Improvements to std::format in C++26
https://mariusbancila.ro/blog/2026/06/19/improvements-to-stdformat-in-c26/
91
Upvotes
r/cpp • u/alberto-m-dev • Jun 26 '26
View all comments
Show parent comment
1
u/fdwr fdwr@github 🔍 Jun 30 '26
How long has the standard explicitly mandated two’s complement for signed integers? (answer: C++20)
Curious. I'll have to try
to_charsagain at my work machine tomorrow because I swear I was getting the expected uppercase hex (otherwiseto_charsis pretty useless for hex numbers).https://godbolt.org/z/EfW3o87jb