- Original Message -
> You should look at https://en.cppreference.com/w/cpp/utility/format
> and the reference implementation https://fmt.dev/
>
> There's no need for compiler magic.
This is fairly common. Qt just uses placeholders %1 %2 etc.
Also from memory, Stroustup's C++ Programm
It's not the same.
1) Doesn't work in C. Doesn't work in C++ without STL.
2) You lose all the warnings about printf format
I still think it's a bit useless to have to be specific about what size
is an integral type you want to print, when the compiler know it
perfectly. It also would work wit
On Fri, 20 Mar 2020 at 07:16, jf wrote:
>
> Hi all,
>
> I'm a printf-like function lover. I always found that better than doing
> something like out << "blabla : " << var1 << ", blabla" << etc.
>
> Now, I use a lot of different platforms and to be portable, I'm supposed
> to use PRIxxx constants fo