c++gccstlc++20fmt

Does GCC support C++20 std::format?


If it doesn't, do you know what compiler or version will?

See cppreference/format.


Solution

  • EDIT: Support for format is available since GCC 13. For someone who want to find compiler support for another libraries or features, please refer to the compiler support link below from cppreference.com

    Does gcc support C++20 std::format?

    Not yet!

    There's no compiler support yet, not even gcc 11. See Text formatting in Library features.

    Compiler support for C++20 library features