3 ms·
Of course we can complain. First, std::format is already improved, so this is moot anyway. But more importantly, std::format always caught the error & threw a w
by kllrnohj 5y ago
Of course we can complain. First, std::format is already improved, so this is moot anyway. But more importantly, std::format always caught the error & threw a well defined exception. printf() does no such thing. It has no validation that your inputs matched the format spec. std::format always had that. So does std::cout & iostreams, for that matter.