Skip to main content

28 docs tagged with "fmt"

View all tags

Basic formatting

spdlog's format strings are fmt's format strings — the same {} mini-language, with the same

Color and text styles

Terminal color is a formatting concern, and fmt handles it with the same type-safe API used

Common pitfalls

Nearly every fmt bug that reaches production is a lifetime bug or a

Error diagnostics

fmt's errors arrive in two flavours: a wall of template output at compile time, and a

Format spec syntax

Everything after the : in a replacement field is one small grammar. Learn it once and it applies to

Overview of fmt

fmt is a fast, type-safe formatting library with Python-style replacement fields — {} holes in a

What is fmt?

C++ had two bad options for turning values into text: printf, which is fast and terse but