Re: printf-like function.

2020-03-20 Thread jf
. It also would work with user defined printf-like function (which I use a lot). On 20.03.20 11:12, Jonathan Wakely wrote: 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 : &qu

printf-like function.

2020-03-20 Thread jf
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 for portability. For me that half-breaks the readab

C++17 is_always_lock_free implementation

2016-03-11 Thread JF Bastien
27;ll need these built-in macros anyways. I also think C macros aren't as useful as the C++ template-based constexpr magic. Thanks, JF [0]: http://jfbastien.github.io/papers/P0152R1.html [1]: http://reviews.llvm.org/D17950 [2]: http://reviews.llvm.org/D17951