Skip to content

Glossary: C++ Beyond the Basics

std::format

Also written: <format>

A function that builds text from a format string with `{}` placeholders, such as `{:>6.2f}` to right-align a number with two decimals.

Where the book teaches it