We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
When trying to format an empty string_view, fmtlib raises a FormatError because the contained pointer is nullptr. Minimal example:
#include <string_view> #include <fmt/format.h> int main() { std::string_view x; fmt::print("{}\n", x); return 0; }
I'd expect an empty string to be printed.