Since C++20, you have std::format() en.cppreference.com/w/cpp/utility/...
You can also you the great fmt library fmt.dev/latest/index.html
fmt
I tried. I don't. G++ (11.1.0 (GCC)) on Arch Linux (x86_64) says the format header does not exist.
format
I'm not aware of how to install the format header.
en.cppreference.com/w/cpp/compiler... : it seems that no compiler has support for at the moment...
std::format() is just a function that you have in the fmt library. I believe everybody keeps using it ^^
std::format()
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Since C++20, you have std::format() en.cppreference.com/w/cpp/utility/...
You can also you the great
fmtlibrary fmt.dev/latest/index.htmlI tried. I don't.
G++ (11.1.0 (GCC)) on Arch Linux (x86_64) says the
formatheader does not exist.I'm not aware of how to install the
formatheader.en.cppreference.com/w/cpp/compiler... : it seems that no compiler has support for at the moment...
std::format()is just a function that you have in thefmtlibrary. I believe everybody keeps using it ^^