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
26
u/rdtsc Jun 26 '26
std::format (and the standalone fmt) have quite a few weird/annoying formatting behaviors.
{:#X}for numbers).-7FFFBFFB?)%Sfor timepoints always includes fractional seconds.