C++20 String formatting: Part-2 Width, Fill and Alignment

Gajendra Gulgulia
7 min readMar 8, 2023

In the first part of the tutorial series, I provided a CMake setup for C++ fmt library that allows to work with string formatting without installing it as a root owner. I also explained the basics of formatting library and how the placeholder {} play a central role in formatting the output and the content of the string.

--

--