Switch to the {fmt} formatting library
I suggest to switch usage of printf
(stdio) and cout
(iostream) to the {fmt} library, which is the basis of C++20 new format functionalities. It is lightweight and fast (actually even more than stdio or streams), and is part of the C++20 standard (only a namespace change will be required!).
Another benefit is to avoid introducing and disseminate custom formatting code and util functions in the code base.
MR !77 (merged) already integrates the fmt library.
This issue is here to incitate every contributor to switch to {fmt} in their code.