Hello,

LLVM implemented exactly what is proposed by std::print 3 years ago
https://github.com/llvm-mirror/llvm/blob/master/lib/Support/raw_ostream.cpp#L638-L685

I thought this might be of interest.

Regards, 
Corentin