Is it possible to validate a std::vformat format string only once?
I’m working with std::vformat
in C++20 and need to format strings multiple times with the same format string. However, I noticed that std::vformat
seems to validate and parse the format string each time it is called, even if the format string is the same.
Is it possible to validate a std::vformat format string only once?
I’m working with std::vformat
in C++20 and need to format strings multiple times with the same format string. However, I noticed that std::vformat
seems to validate and parse the format string each time it is called, even if the format string is the same.