fmt is an open-source C++ library for format-string-based text output. It provides a practical alternative when a compiler does not fully support std::format. section 2.2.5
Use fmt to:
- Call fmt::format with curly-brace placeholders, ordered arguments, indexes, and specifiers such as d or +d. section 2.2.5
Center-justified triangle output
A triangle-display function combines fmt::format("{: ^{}}, data, 6) with changing row indentation to center each number and produce symmetrical output.


