If someone is using c formatting functions then it's almost trivial to move to std::format/std::format_to. No excuses excepted! Much easier than moving from the stream formatting ways...
@seeplus, you are preaching to the choir, ya know. :)
But some old-time programmers will insist the old ways are still the best and only way to go. No new-fangled C++ bloaty (in their opinion!) code accepted!
Now that C++23 is is the newest standard I am ginormously amused that MS Visual Studio is still the only major compiler 100% compliant with the C++20 standard. Every other one is either partial or no support on key provisions. Modules being a big example.
Before C++20 MS used to be the laggard with their compilers/IDEs being compliant to the then current standard.
So far MS is trailing with C++23 core language compliance as well, marginally ahead in C++23 library feature compliance. Not a single major compiler is 100%, though the others are ahead of shoe-horning that support in.
out of curiosity, is there a 'major' compiler that isnt GCC or MSVC? I don't count rebranding of GCC in that -- I know a few things repackage it under a new label.
Yes, Clang is important. I hadn't studied it or used it much and thought it was g++ derived, so I left it out. Closer look says it just mimics g++ command line while being its own thing.
MS released a new version of Visual Studio 2022, 17.5. One of the fixes/updates implemented several stdlib features, including a handful of basic_format_string updates/revisions.