Compile-time format string checking
The whole point of replacing printf is that a wrong format string shouldn't be a runtime surprise.
The whole point of replacing printf is that a wrong format string shouldn't be a runtime surprise.
constexpr indicates values or functions can be evaluated at compile-time, enabling compile-time computation and optimization.
fmt's runtime cost is settled — it's fast, and that doesn't change based on how you build it. Its