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 🔍 Jul 02 '26
Indeed,
std::to_charsyields '-2a', which makes it a pretty useless function for a hex editor. 🙃So it's one of those rules that don't actually matter in the real world because all compilers do the expected thing anyway 😉.